Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress warnings about default partitioner #44

Merged

Conversation

lpsinger
Copy link
Member

@lpsinger lpsinger commented Nov 6, 2024

Suppress the following producer warnings: KafkaJS v2.0.0 switched default partitioner. To retain the same partitioning behavior as in previous versions, create the producer with the option "createPartitioner: Partitioners.LegacyPartitioner". See the migration guide at https://kafka.js.org/docs/migration-guide-v2.0.0#producer-new-default-partitioner for details. Silence this warning by setting the environment variable "KAFKAJS_NO_PARTITIONER_WARNING=1"

Suppress the following producer warnings: `KafkaJS v2.0.0 switched
default partitioner. To retain the same partitioning behavior as in
previous versions, create the producer with the option
"createPartitioner: Partitioners.LegacyPartitioner". See the
migration guide at https://kafka.js.org/docs/migration-guide-v2.0.0#producer-new-default-partitioner
for details. Silence this warning by setting the environment
variable "KAFKAJS_NO_PARTITIONER_WARNING=1"`
@dakota002 dakota002 merged commit dbb0204 into nasa-gcn:main Nov 6, 2024
1 check passed
@lpsinger lpsinger deleted the suppress-default-paritioner-warning branch November 6, 2024 14:47
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.

2 participants