コード例 #1
0
 public KeyedJsonConsumer(IRedshiftWriter redshiftClient, string kafkaBootstrapServers)
 {
     _redshiftWriter        = redshiftClient;
     _consumerTasks         = new List <Task>();
     _redshiftTasks         = new List <Task>();
     _kafkaBootstrapServers = kafkaBootstrapServers;
 }
コード例 #2
0
        public NonKeyedAvroConsumer(IRedshiftWriter redshiftWriter, string kafkaBootstrapServers, string schemaRegistryUrl)
        {
            _redshiftWriter = redshiftWriter;
            _consumerTasks  = new List <Task>();
            _redshiftTasks  = new List <Task>();

            _kafkaBootstrapServers = kafkaBootstrapServers;
            _schemaRegistryUrl     = schemaRegistryUrl;
        }