Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: reporting client software name and version to broker #269

@jychen7

Description

@jychen7

Background

https://github.com/confluentinc/librdkafka/wiki/Language-bindings-development#reporting-client-software-name-and-version-to-broker

Proposal

Add following to DEFAULT_CONFIG

{
  "client.software.name": "rdkafka-ruby",
  "client.software.version": "v#{Rdkafka::VERSION}-librdkafka-v#{Rdkafka::LIBRDKAFKA_VERSION}",
}

Note

  1. this requires broker version 2.4.0 or later (metrics added in 2.5.0)
    • if rdkafka can not detect broker version, we may add one more option to Rdkafka::Config.new, so users can opt-in
  2. These configuration properties are hidden (from CONFIGURATION.md et.al.) as they should typically not be modified by the user.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions