Ejemplo n.º 1
0
        public KafkaEFGameRepository(GameCentralContext gameCentralContext) : base(gameCentralContext)
        {
            var config = new ProducerConfig {
                BootstrapServers = "localhost:9092",
            };

            Producer = new ProducerBuilder <string, Game>(config).SetValueSerializer(new GameSerializer()).Build();
        }
Ejemplo n.º 2
0
 public EfGameCentralRepository(GameCentralContext gameCentralContext)
 {
     GameCentralContext = gameCentralContext;
 }