kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nayanjyoti Deka <nayanjy...@ixigo.com>
Subject Re: Topic Creation two different config(s)
Date Wed, 08 May 2019 07:10:47 GMT
You can use AdminClient.createTopics with the necessary configuration.

On Wed, May 8, 2019 at 12:08 PM SenthilKumar K <senthilec566@gmail.com>
wrote:

> Hello Experts , We have a requirement to create topic dynamically with two
> different config(s). Is this possible in Kafka ?
>
> Kafka Version : 2.2.0
>
> Topics with different settings:
> #1 - Set retention as 24 hours for free tier customers
> # 2 - Set retention as 72 hours for paid customers
>
> Note : Right now Java Producer is auto creating topics with broker default
> config(s).
>
> --Senthil
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message