Add configurable Kafka proxy listen address#29
Draft
zinal wants to merge 6 commits into
Draft
Conversation
zinal
force-pushed
the
cursor/kafka-listen-address-af67
branch
from
July 16, 2026 09:58
21dcc1f to
0db38be
Compare
Introduce listening_address in kafka_proxy_config and --kafka-listen-address CLI option to control the bind address used by TListenerSettings when starting the Kafka proxy listener. Defaults to [::] to preserve existing behavior. Co-authored-by: Maksim Zinal <zinal@ydb.tech>
Co-authored-by: Ilnaz Nizametdinov <i.nizametdinov@gmail.com>
zinal
force-pushed
the
cursor/kafka-listen-address-af67
branch
from
July 17, 2026 07:15
0db38be to
f37b7b3
Compare
The bracketed IPv6 notation is not parsed by MakeAddress/IsIPv6 in sock64.h, which caused ydbd to crash on startup when Kafka proxy was enabled. Use :: to match TListenerSettings default and preserve existing bind behavior. Co-authored-by: Maksim Zinal <zinal@ydb.tech>
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.
Summary
Adds the ability to configure the network address on which Kafka Proxy binds its listener, instead of always using the hardcoded default
::.Changes
kafka_proxy_config.listening_address(proto fieldListeningAddress, default[::]) — YAML configuration parameter--kafka-listen-address— command-line option forydbdand config parserTListenerSettings.AddressinTKafkaProxyServiceInitializerand test client setupkikimr_config.py)Usage
Notes
[::]preserves existing behavior (listen on all interfaces).listening_addresscontrols bind address only;public_hoststill controls the address advertised to Kafka clients.listening_addresscan be set independently of--kafka-port/listening_port.