Overriding "(consumer|producer)Properties.bootstrap.servers" should be prohibited
See original GitHub issueI was trying to configure the consumers to read from a mirrored cluster but when I change the consumer bootstrap broker I get A list of partitions must be provided
error.
I’m basically using the following configuration:
spring.cloud.stream.kafka.binder.brokers=${KAFKA_HOSTS}
spring.cloud.stream.kafka.binder.consumerProperties.bootstrap.servers=${KAFKA_CONSUMER_HOSTS}
If I don’t set spring.cloud.stream.kafka.binder.consumerProperties.bootstrap.servers
everything works fine.
Am I missing something?
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Spring boot spring.kafka.bootstrap-servers not getting picked ...
I know I can manually pass the properties into a DefaultKafkaConsumerFactory bean but I was hoping Spring Boot could handle that automatically.
Read more >kafka nodes - Forums - IBM Support
Hi, I am usin the new kafka producer and consumer nodes in IIB flow and I need ... You can override the value...
Read more >How to configure or override default Kafka Producer or ...
If it is required to override those default values, you can specify them as additional properties under bootstrap servers in the configuration.
Read more >Kafka Topic Management | Kafka Documentation - Instaclustr
The following command will change the min.insync.replicas property value for this topic and override the default min.insync.replicas value of the broker.
Read more >Confluent Replicator Configuration Properties
The client will use all servers, irrespective of which servers are designated here for bootstrapping.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sobychacko I reopened the issue and changed the title; it is assigned to me.
Thanks for the reference @sobychacko. It worked as expected.
That’s right. I closed the issue incorrectly.