Sync from apache/kafka (8 August 2019) and upgrade avro to 1.9.0#217
Conversation
…pl` (apache#7161) Renames method names in StreamsMetricsImpl to make them consistent. Reviewers: A. Sophie Blee-Goldman <sophie@confluent.io>, Guozhang Wang <wangguoz@gmail.com>
…n size() == 0 (apache#7164) Reviewers: A. Sophie Blee-Goldman <sophie@confluent.io>, Matthias J. Sax <matthias@confluent.io>, Guozhang Wang <guozhang@confluent.io>
Author: Colin P. Mccabe <cmccabe@confluent.io> Reviewers: Gwen Shapira Closes apache#7058 from cmccabe/rr-style-fixes
2.9.9.1 and 2.9.9.2 include security fixes while 2.9.9.3 fixes a regression introduced in 2.9.9.2. Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>
Author: Mickael Maison <mickael.maison@gmail.com> Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>, Viktor Somogyi <viktorsomogyi@gmail.com> Closes apache#7098 from mimaison/KAFKA-8599
Scala 2.12.9 brings another 5% ~ 10% improvement in compiler performance, improved compatibility with JDK 11/12/13, and experimental infrastructure for build pipelining. zstd update includes performance improvements, among which the primary improvement is that decompression is ~7% faster. Level | v1.4.0 | v1.4.1 | Delta -- | -- | -- | -- 1 | 1390 MB/s | 1453 MB/s | +4.5% 3 | 1208 MB/s | 1301 MB/s | +7.6% 5 | 1129 MB/s | 1233 MB/s | +9.2% 7 | 1224 MB/s | 1347 MB/s | +10.0% 16 | 1278 MB/s | 1430 MB/s | +11.8% Jetty 9.4.19 includes a number of bug fixes: https://github.com/eclipse/jetty.project/releases/tag/jetty-9.4.19.v20190610 Mockito 3.0.0 switched the Java requirement from 7 to 8. Several updates to owaspDepCheckPlugin (4.0.2 -> 5.2.1). The rest are patch updates. Reviewers: Rajini Sivaram <rajinisivaram@googlemail.com>
There was a problem hiding this comment.
httpclient is present in AK/trunk - https://github.com/apache/kafka/blob/66d81a0e50680916f541703049dd4e911542b5ed/gradle/dependencies.gradle#L72
Best remove it from there if really is unused?
There was a problem hiding this comment.
It's used there, but not here. I'll reduce the divergence further.
There was a problem hiding this comment.
This httpcomponents is unused and not in AK.
There was a problem hiding this comment.
It's used here, but not in AK. I'll reduce the divergence.
4760719 to
89677a2
Compare
The avro upgrade was needed to fix the following error during ':support-metrics-client:generateAvro': Caused by: org.apache.velocity.exception.MethodInvocationException: Variable $velocityCount has not been set at /org/apache/avro/compiler/specific/templates/java/classic/record.vm[line 82, column 150] Conflicts: * gradle.properties -> trivial fix, `scalaVersion` is next to `version`, which is different in ccs kafka * gradle/dependencies.gradle -> reduce divergence with apache kafka by using `httpclient` instead of `httpcomponents` from the `versions` array. Remove unused `httpmime` and `httpcomponents` from said array. * apache-github/trunk: MINOR: Update dependencies for Kafka 2.4 (apache#7126) KAFKA-8599: Use automatic RPC generation in ExpireDelegationToken MINOR: Upgrade jackson-databind to 2.9.9.3 (apache#7125) MINOR: some small style fixes to RoundRobinPartitioner KAFKA-8736: Streams performance improvement, use isEmpty() rather than size() == 0 (apache#7164) Minor: Refactor methods to add metrics to sensor in `StreamsMetricsImpl` (apache#7161)
89677a2 to
430f014
Compare
|
Flaky tests that failed:
Restarted the build. |
|
More flaky failures (subset of the previous ones):
Stanislav Kozlovski (@stanislavkozlovski) has a PR for the log4j log levels issue. There are JIRAs in Apache Kafka for the other flaky tests. |
|
Merging to |
The avro upgrade was needed to fix the following error during
':support-metrics-client:generateAvro':
Conflicts:
scalaVersionis next toversion, whichis different in ccs kafka
httpclientandhttpmimeinthe
versionsarray since they were unused and were the reason for thedivergence with upstream.
Committer Checklist (excluded from commit message)