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

Use Kafka official docker image, without zookeeper #9077

Merged
merged 7 commits into from
Mar 15, 2024

Conversation

murdos
Copy link
Contributor

@murdos murdos commented Feb 28, 2024

Fixes #9076

This is a dangerous practice to not use main source, since it can hide mis-configuration in cucumber tests, and add more maintenance burden
Copy link

codecov bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (524bbf0) to head (d2e3d21).
Report is 303 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##                main     #9077    +/-   ##
============================================
  Coverage     100.00%   100.00%            
- Complexity      2903      2928    +25     
============================================
  Files            733       733            
  Lines          12527     12649   +122     
  Branches         253       256     +3     
============================================
+ Hits           12527     12649   +122     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
KAFKA_NODE_ID: 1
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: 'CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT'
KAFKA_ADVERTISED_LISTENERS: 'PLAINTEXT_HOST://localhost:9092,PLAINTEXT://broker:19092'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
KAFKA_ADVERTISED_LISTENERS: 'PLAINTEXT_HOST://localhost:9092,PLAINTEXT://broker:19092'
KAFKA_ADVERTISED_LISTENERS: 'PLAINTEXT_HOST://localhost:9092,PLAINTEXT://kafka:19092'

KAFKA_ADVERTISED_LISTENERS: 'PLAINTEXT_HOST://localhost:9092,PLAINTEXT://broker:19092'
KAFKA_PROCESS_ROLES: 'broker,controller'
KAFKA_CONTROLLER_QUORUM_VOTERS: '1@kafka:29093'
KAFKA_LISTENERS: 'CONTROLLER://:29093,PLAINTEXT_HOST://:9092,PLAINTEXT://:19092'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Change all instances of 19092 to 29092 to keep compatibility with akhq

Suggested change
KAFKA_LISTENERS: 'CONTROLLER://:29093,PLAINTEXT_HOST://:9092,PLAINTEXT://:19092'
KAFKA_LISTENERS: 'CONTROLLER://:29093,PLAINTEXT_HOST://:9092,PLAINTEXT://:29092'

@pascalgrimaud
Copy link
Member

@murdos : is it ready?

@murdos
Copy link
Contributor Author

murdos commented Mar 13, 2024

@murdos : is it ready?

@pascalgrimaud : Yes :)

@pascalgrimaud pascalgrimaud merged commit e178946 into jhipster:main Mar 15, 2024
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kafka: use official image, without zookeeper
2 participants