Skip to content

Minor: Rename methods to add metrics to sensor in StreamsMetricsImpl#7161

Merged
guozhangwang merged 1 commit into
apache:trunkfrom
cadonna:refactor_StreamsMetricsImpl
Aug 6, 2019
Merged

Minor: Rename methods to add metrics to sensor in StreamsMetricsImpl#7161
guozhangwang merged 1 commit into
apache:trunkfrom
cadonna:refactor_StreamsMetricsImpl

Conversation

@cadonna

@cadonna cadonna commented Aug 5, 2019

Copy link
Copy Markdown
Member

Renames method names in StreamsMetricsImpl to make them consistent.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@cadonna

cadonna commented Aug 5, 2019

Copy link
Copy Markdown
Member Author

@ableegoldman ableegoldman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just curious though what is the motivation here? IS it just to clarify that these methods are adding to a sensor, or will we be adding some other methods later that necessitate this?

@guozhangwang guozhangwang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is from a previous PR's conversation to make the API naming consistency.

@guozhangwang

Copy link
Copy Markdown
Contributor

retest this please

@cadonna

cadonna commented Aug 6, 2019

Copy link
Copy Markdown
Member Author

In Java 11 and Scala 2.13 the following tests failed

org.apache.kafka.connect.integration.ExampleConnectIntegrationTest.testSourceConnector
kafka.api.AdminClientIntegrationTest.testElectUncleanLeadersForManyPartitions

In Java 8 the following tests failed

kafka.api.AdminClientIntegrationTest.testIncrementalAlterConfigsForLog4jLogLevels
kafka.api.AdminClientIntegrationTest.testIncrementalAlterConfigsForLog4jLogLevelsCanResetLoggerToCurrentRoot
kafka.api.SaslSslAdminClientIntegrationTest.testIncrementalAlterConfigsForLog4jLogLevels
kafka.api.SaslSslAdminClientIntegrationTest.testIncrementalAlterConfigsForLog4jLogLevelsCanResetLoggerToCurrentRoot

Retest this, please

@guozhangwang
guozhangwang merged commit 7663a6c into apache:trunk Aug 6, 2019
ijuma added a commit to confluentinc/kafka that referenced this pull request Aug 8, 2019
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)
@cadonna
cadonna deleted the refactor_StreamsMetricsImpl branch October 21, 2019 11:40
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.

3 participants