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

Sets ConfigEntry.Default flag in addition to the ConfigEntry.Source f… #11

Merged
merged 1 commit into from
Feb 23, 2020

Conversation

sthagen
Copy link
Owner

@sthagen sthagen commented Feb 23, 2020

…or Kafka versions > V1_1_0_0 (IBM#1594)

  • Set describeConfigsRequest.Version in ListTopics for consistency with DescribeConfig

This breaks the output of ListTopics for newer request versions, it now includes default configuration settings.

  • Set ConfigEntry.Default for KafkaVersions > 0

Clients can now rely on the Default flag again and don't have to check the Source for higher Kafka versions.

  • Set ConfigEntry.Source to default for KafkaVersions <= 0 when applicable

  • Add tests for default flag/source

…or Kafka versions > V1_1_0_0 (#1594)

* Set describeConfigsRequest.Version in ListTopics for consistency with DescribeConfig

This breaks the output of ListTopics for newer request versions, it now includes default configuration settings.

* Set ConfigEntry.Default for KafkaVersions > 0

Clients can now rely on the `Default` flag again and don't have to check the `Source` for higher Kafka versions.

* Set ConfigEntry.Source to default for KafkaVersions <= 0 when applicable

* Add tests for default flag/source
@sthagen sthagen merged commit 9c761b7 into sthagen:master Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants