Running spring-boot 1.5.7.RELEASE program using spring-cloud Dalston.SR4.
Worked myself through cloud-stream documentation, especially regarding kafka-binder usage, but am still unclear on some configuration aspects:
Do we really need to set
spring.cloud.stream.{instanceCount,instanceIndex}when we're consuming from kafka brokers? I can't see why this would be required, givenspring.cloud.stream.bindings.<channel>.groupis set. Or is it safe to say these 2 properties are only required ifcloud.stream.kafka.bindings.<channel>.autoRebalanceEnabledis setfalse?Is there any benefit in setting
cloud.stream.default.consumer.partitioned: truefor kafka consumers?Bonus: what's the difference between
spring.cloud.stream.kafka.binder.configuration.auto.offset.resetandspring.cloud.stream.kafka.bindings.<channelName>.consumer.startOffset? Is it simply latter configuring offset-reset per channel? In any case, neither of these two are picked up, andauto.offset.resetvalue is still reported during startup asearliest.