private CommittableSourceMessageBuilder <K, V> GetMessageBuilder(BaseSingleSourceLogic <K, V, CommittableMessage <K, V> > logic) { var committer = new KafkaAsyncConsumerCommitter(() => logic.ConsumerActor, CommitTimeout); return(new CommittableSourceMessageBuilder <K, V>(committer, GroupId, m => string.Empty)); }
private CommittableSourceMessageBuilder <K, V> GetMessageBuilder(BaseSingleSourceLogic <K, V, CommittableMessage <K, V> > logic) { var committer = new KafkaAsyncConsumerCommitter(() => logic.ConsumerActor, Settings.CommitTimeout); return(new CommittableSourceMessageBuilder <K, V>(committer, Settings.GroupId, _metadataFromMessage)); }