confluentinc / kafka-rest

Confluent REST Proxy for Kafka
https://docs.confluent.io/current/kafka-rest/docs/index.html
Other
2.25k stars 641 forks source link

Add doLog parameter for KafkaRestConfig constructor #1249

Closed trnguyencflt closed 4 months ago

trnguyencflt commented 4 months ago

Ref: https://github.com/confluentinc/ce-kafka/pull/13010

For context, we don't want to log configuration values by default for transient clients in CCloud. This PRs introduces new constructors to KafkaRestConfig so that we can have the control over the logging behaviour. Note that, we don't use the CONFIGS_LOGGING_ENABLED_PROP config because it is internal, this config will be use in upstream project of kafka-rest.

Related PRs: