KAFKA-8503; Add default api timeout to AdminClient (KIP-533)#8011
Merged
hachikuji merged 4 commits intoapache:trunkfrom Jan 31, 2020
Merged
KAFKA-8503; Add default api timeout to AdminClient (KIP-533)#8011hachikuji merged 4 commits intoapache:trunkfrom
hachikuji merged 4 commits intoapache:trunkfrom
Conversation
Contributor
Author
|
retest this please |
1 similar comment
Contributor
Author
|
retest this please |
mumrah
reviewed
Jan 29, 2020
mumrah
reviewed
Jan 29, 2020
mumrah
reviewed
Jan 29, 2020
mumrah
approved these changes
Jan 30, 2020
Member
mumrah
left a comment
There was a problem hiding this comment.
Only one small doc question, not critical for this merge.
LGTM ![]()
mumrah
reviewed
Jan 30, 2020
| * | ||
| * @param config The configuration | ||
| */ | ||
| private int configureDefaultApiTimeoutMs(AdminClientConfig config) { |
Member
There was a problem hiding this comment.
This could even be static now, yes?
Contributor
Author
There was a problem hiding this comment.
We still have the log message, which is a bit annoying. Guess I will leave it as is unless you feel strongly about it.
andrewchoi5
approved these changes
Jan 30, 2020
Contributor
Author
|
retest this please |
3 tasks
ijuma
added a commit
to confluentinc/kafka
that referenced
this pull request
Feb 2, 2020
Conflicts and/or compiler errors due to the fact that we temporarily reverted the commit that removes Scala 2.11 support: * SslAdminIntegrationTest: keep using JAdminClient, take upstream changes otherwise. * ReassignPartitionsClusterTest: keep using JAdminClient, take upstream changes otherwise. * KafkaApis: use `asScala.foreach` instead of `forEach`. # By Ismael Juma (3) and others # Via GitHub * apache-github/trunk: (22 commits) KAFKA-9437; Make the Kafka Protocol Friendlier with L7 Proxies [KIP-559] (apache#7994) KAFKA-9375: Add names to all Connect threads (apache#7901) MINOR: Introduce 2.5-IV0 IBP (apache#8010) KAFKA-8503; Add default api timeout to AdminClient (KIP-533) (apache#8011) Add retries to release.py script (apache#8021) KAFKA-8162: IBM JDK Class not found error when handling SASL (apache#6524) MINOR: Add explicit result type in public defs/vals (apache#7993) KAFKA-9408: Use StandardCharsets.UTF-8 instead of "UTF-8" (apache#7940) KAFKA-9474: Adds 'float64' to the RPC protocol types (apache#8012) KAFKA-9360: Allow disabling MM2 heartbeat and checkpoint emissions (apache#7887) KAFKA-7658: Add KStream#toTable to the Streams DSL (apache#7985) KAFKA-9445: Allow adding changes to allow serving from a specific partition (apache#7984) KAFKA-9422: Track the set of topics a connector is using (KIP-558) (apache#8017) KAFKA-9040; Add --all option to config command (apache#7607) KAFKA-4203: Align broker default for max.message.bytes with Java producer default (apache#4154) KAFKA-9426: Use switch instead of chained if/else in OffsetsForLeaderEpochClient (apache#7959) KAFKA-9405: Use Map.computeIfAbsent where applicable (apache#7937) KAFKA-9026: Use automatic RPC generation in DescribeAcls (apache#7560) MINOR: Remove unused fields in StreamsMetricsImpl (apache#7992) KAFKA-9460: Enable only TLSv1.2 by default and disable other TLS protocol versions (KIP-553) (apache#7998) ...
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements
default.api.timeout.msas documented by KIP-533. This is a rebased version of #6913 with some additional test cases and small cleanups.Co-authored-by: huxi huxi_2b@hotmail.com
Committer Checklist (excluded from commit message)