should we ever invoke processorContext.commit()
in Processor
implementation by ourselves? I mean invoking commit
method inside scheduled Punctuator
implementation or inside process
method.
in which use cases should we do that, and do we need that at all? the question relates to both Kafka DSL with transform()
and Processor API.
seems Kafka Streams handles it by itself, also invoking processorContext.commit()
does not guarantee that it will be done immediately.