private void LogMessageHandler(Kafka.IConsumer <TKey, TValue> consumer, LogMessage logMessage) { if (consumer.Equals(_consumer)) { _events.OnNext(new Event.LogMessageReceived(logMessage)); } }
private void OffsetsCommittedHandler(Kafka.IConsumer <TKey, TValue> consumer, CommittedOffsets committedOffsets) { if (consumer.Equals(_consumer)) { _events.OnNext(new Event.OffsetsCommitted(committedOffsets)); } }
private void StatisticsHandler(Kafka.IConsumer <TKey, TValue> consumer, string statistics) { if (consumer.Equals(_consumer)) { _events.OnNext(new Event.StatisticsReceived(statistics)); } }
private void PartitionsRevokedHandler(Kafka.IConsumer <TKey, TValue> consumer, List <TopicPartitionOffset> partitions) { if (consumer.Equals(_consumer)) { _events.OnNext(new Event.PartitionsRevoked(partitions)); } }