Creates a new ConsumerSettings instance using the specified settings.
Creates a new ConsumerSettings instance using the specified settings.
Since offset commits are managed manually, automatic commits are disabled
by default. Automatic offset commits can explicitly be enabled again using
ConsumerSettings#withEnableAutoCommit.
Since some Kafka operations are blocking, these operations should be run
on a dedicated ExecutionContext
. If you need such an ExecutionContext
,
consumerExecutionContextStream
provides a sensible default option.