Skip to content

Fix invalid configuration key "bootstrap_servers" in Kafka demo#10060

Merged
auvipy merged 4 commits intocelery:mainfrom
jorsyk:fix/kafka-bootstrap-key
Jan 10, 2026
Merged

Fix invalid configuration key "bootstrap_servers" in Kafka demo#10060
auvipy merged 4 commits intocelery:mainfrom
jorsyk:fix/kafka-bootstrap-key

Conversation

@jorsyk
Copy link
Contributor

@jorsyk jorsyk commented Jan 10, 2026

Description

Fixes #10011

This PR fixes an invalid configuration key in the Kafka broker demo.

The Problem

When running the demo, the worker fails to start with the following error:
cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="No such configuration property: "bootstrap_servers""}

Changes

  • Changed "bootstrap_servers" to "bootstrap.servers" in kafka_common_config.

Testing

Verified the fix locally by loading the configuration in a Celery instance. The _INVALID_ARG exception is resolved after these changes.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes an invalid Kafka configuration key in the broker documentation demo that was causing workers to fail at startup with a _INVALID_ARG exception.

Changes:

  • Corrected the configuration key from bootstrap_servers (invalid) to bootstrap.servers (correct librdkafka format) in the Kafka broker demo

@auvipy auvipy merged commit ead43e9 into celery:main Jan 10, 2026
12 checks passed
@auvipy auvipy added this to the 5.6.x milestone Jan 10, 2026
@jorsyk jorsyk deleted the fix/kafka-bootstrap-key branch January 10, 2026 18:53
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.

docs/getting-started/backends-and-brokers/kafka.rst documentation bug

3 participants