public KafkaEFGameRepository(GameCentralContext gameCentralContext) : base(gameCentralContext) { var config = new ProducerConfig { BootstrapServers = "localhost:9092", }; Producer = new ProducerBuilder <string, Game>(config).SetValueSerializer(new GameSerializer()).Build(); }
public EfGameCentralRepository(GameCentralContext gameCentralContext) { GameCentralContext = gameCentralContext; }