Skip to content

feat(inkless): add inkless.client.az.listener.map config#683

Merged
giuseppelillo merged 1 commit into
mainfrom
gqmelo/producer-rack-add-listener-map-config
Jul 7, 2026
Merged

feat(inkless): add inkless.client.az.listener.map config#683
giuseppelillo merged 1 commit into
mainfrom
gqmelo/producer-rack-add-listener-map-config

Conversation

@gqmelo

@gqmelo gqmelo commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

This adds a new Inkless config inkless.client.az.listener.map that will be used to map listeners to specific AZs so that clients can connect to a broker that is in the same AZ.

@gqmelo
gqmelo force-pushed the gqmelo/producer-rack-add-listener-map-config branch 2 times, most recently from d8caf7f to 551f9d1 Compare July 3, 2026 11:52
@gqmelo
gqmelo marked this pull request as ready for review July 3, 2026 12:30
@gqmelo
gqmelo requested a review from Copilot July 3, 2026 12:30

Copilot AI 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.

Pull request overview

Adds a new Inkless configuration option to support mapping client-facing listener aliases to availability-zone (rack) IDs, enabling AZ-aware client routing for diskless topic metadata.

Changes:

  • Introduces client.az.listener.map to InklessConfig with parsing/validation logic and a public accessor.
  • Adds unit tests covering parsing, normalization, defaults, and validation errors.
  • Documents the new configuration option in the generated Inkless configs documentation.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
storage/inkless/src/main/java/io/aiven/inkless/config/InklessConfig.java Defines the new config, parses LISTENER=az entries, validates, and exposes clientAzListenerMap()
storage/inkless/src/test/java/io/aiven/inkless/config/InklessConfigTest.java Adds tests for correct parsing, normalization, defaults, and invalid input handling
docs/inkless/configs.rst Documents the new config entry under inkless.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

This adds a new Inkless config `inkless.client.az.listener.map`
that will be used to map listeners to specific AZs so that clients
can connect to a broker that is in the same AZ.

[KC-256]
@giuseppelillo
giuseppelillo merged commit 179818e into main Jul 7, 2026
4 checks passed
@giuseppelillo
giuseppelillo deleted the gqmelo/producer-rack-add-listener-map-config branch July 7, 2026 13:29
jeqo pushed a commit that referenced this pull request Jul 8, 2026
This adds a new Inkless config `inkless.client.az.listener.map`
that will be used to map listeners to specific AZs so that clients
can connect to a broker that is in the same AZ.

[KC-256]
jeqo pushed a commit that referenced this pull request Jul 8, 2026
This adds a new Inkless config `inkless.client.az.listener.map`
that will be used to map listeners to specific AZs so that clients
can connect to a broker that is in the same AZ.

[KC-256]
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