Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide first-class support for all Kafka configuration options #17420

Open
philwebb opened this issue Jul 3, 2019 · 2 comments
Open

Provide first-class support for all Kafka configuration options #17420

philwebb opened this issue Jul 3, 2019 · 2 comments
Labels
type: enhancement A general enhancement

Comments

@philwebb
Copy link
Member

philwebb commented Jul 3, 2019

As discussed in #17389 our existing approach is not ideal. It would be nice if we could somehow expose all configuration options as "first-class" properties with metadata and, therefore, IDE auto-completion.

@philwebb philwebb added this to the General Backlog milestone Jul 3, 2019
@philwebb philwebb added the type: enhancement A general enhancement label Jul 3, 2019
@wilkinsona wilkinsona changed the title Support all Kafka configuration options Provide first-class support all Kafka configuration options Jul 4, 2019
@wilkinsona wilkinsona changed the title Provide first-class support all Kafka configuration options Provide first-class support for all Kafka configuration options Jul 4, 2019
@MadJlzz
Copy link

MadJlzz commented Nov 11, 2019

I've hit this point very recently after seeing that KafkaProperties was missing configuration properties.
Apart from creating a "first-class" exposing all of Kafka properties like you mentionned, I don't know how you want to manage this... Sadly, I find this solution quite unmaintanable...

@Wzy19930507
Copy link
Contributor

Wzy19930507 commented Nov 8, 2023

Apache Kafka use org.apache.kafka.common.config.ConfigDef management peoperties metadate(key, doc, default value etc.).
perhaps can create adaptor for
mapping org.apache.kafka.clients.consumer.ConsumerConfig#configDef to spring.kafka.consumer.properties and
mapping org.apache.kafka.clients.producer.ProducerConfig#configDef to spring.kafka.producer.properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants