Kafka.Client.Consumers.Fetcher.Fetcher C# (CSharp) Method

Fetcher() public method

Initializes a new instance of the Fetcher class.
public Fetcher ( Kafka.Client.Cfg.ConsumerConfiguration config, IZooKeeperClient zkClient ) : System
config Kafka.Client.Cfg.ConsumerConfiguration /// The consumer configuration. ///
zkClient IZooKeeperClient /// The wrapper above ZooKeeper client. ///
return System
        public Fetcher(ConsumerConfiguration config, IZooKeeperClient zkClient)
        {
            this.config = config;
            this.zkClient = zkClient;
        }