Re: Kafka - how to know whether it is broker property or topic property or producer property

2020-06-13 Thread Liam Clarke-Hutchinson
Hi Nag, https://kafka.apache.org/documentation/#topicconfigs > Configurations pertinent to topics have both a server default as well an optional per-topic override. If no per-topic configuration is given the server default is used. The override can be set at topic creation time by giving one or

Re: Kafka - how to know whether it is broker property or topic property or producer property

2020-06-13 Thread Nag Y
Is it documented somewhere the property is shared or we need to look it in multiple places ? Thanks On Sun, Jun 14, 2020 at 12:15 PM Liam Clarke-Hutchinson < liam.cla...@adscale.co.nz> wrote: > Hi Nag, > > If topic and brokers share the same property, then it is safe to assume > that the broker

Re: Kafka - how to know whether it is broker property or topic property or producer property

2020-06-13 Thread Liam Clarke-Hutchinson
Hi Nag, If topic and brokers share the same property, then it is safe to assume that the broker property is the default, which can be overridden by explicit topic configs. Kind regards, Liam Clarke On Sun, Jun 14, 2020 at 6:42 PM Nag Y wrote: > I am going through the documentation and often t

Kafka - how to know whether it is broker property or topic property or producer property

2020-06-13 Thread Nag Y
I am going through the documentation and often times, it is either not clear or need to look at in multiple pleaces to see to which a prticular property belongs and is it a specific property to an entity etc .. To give an example, consider *"min.insync.replicas"* - This is just for an example. Fro

Re: dynamic produce and consume new topics

2020-06-13 Thread Boyang Chen
Good question, TBH I'm not an expert on Spring, maybe cross post this question in the Spring community? On Sat, Jun 13, 2020 at 7:43 AM AJ Chen wrote: > Another strategy to handle dynamic topics: > SInce Spring Kafka MessageListenerContainer holds a list of topics, can we > simply add a new topi

Re: dynamic produce and consume new topics

2020-06-13 Thread AJ Chen
Another strategy to handle dynamic topics: SInce Spring Kafka MessageListenerContainer holds a list of topics, can we simply add a new topic into the existing container at runtime? Does the existing listener container object require a manual stop/start after its topic list changes? thanks, -aj