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

Updating docker stack to include new kafka properties #168

Merged
merged 2 commits into from
Jan 23, 2024

Conversation

walisc
Copy link
Collaborator

@walisc walisc commented Jan 23, 2024

Ticket: N/A
Other Related Tickets: N/A
Other Related PRS: N/A


Describe of changes

Bitnami changed/update their image for version 3,6,1 and in doing so, introduced aa breaking change. This change now required you to pass additional environment variables, of which KAFKA_CFG_MESSAGE_MAX_BYTES was required. highlighted below

KAFKA_CFG_MAX_REQUEST_SIZE
KAFKA_CFG_MESSAGE_MAX_BYTES
KAFKA_CFG_MAX_PARTITION_FETCH_BYTES

When these variable were not present you get the following stacktrace

jempi_kafka-01.1.4s7caieksuja@sush-Dell-G15-Special-Edition-5521    | Exception in thread "main" org.apache.kafka.common.config.ConfigException: Invalid value  for configuration message.max.bytes: Not a number of type INT
jempi_kafka-01.1.4s7caieksuja@sush-Dell-G15-Special-Edition-5521    |         at org.apache.kafka.common.config.ConfigDef.parseType(ConfigDef.java:745)

This pull request fixes this by add the environment variables to our stack

How to test / configure

Start JeMPI, and everything should running normally, including kafka

@walisc walisc changed the base branch from main to dev January 23, 2024 12:26
@ajinkyagadewar ajinkyagadewar merged commit d49dd1a into dev Jan 23, 2024
@ajinkyagadewar ajinkyagadewar deleted the dev_kafka_stack_updates branch January 23, 2024 13:11
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