lensesio / fast-data-dev

Kafka Docker for development. Kafka, Zookeeper, Schema Registry, Kafka-Connect, Landoop Tools, 20+ connectors
https://lenses.io
Apache License 2.0
2.01k stars 330 forks source link

Passing TOPIC-UI env variables #150

Open janknobloch opened 4 years ago

janknobloch commented 4 years ago

Hi all, thanks in first place to all contributors !

Im facing timeout issues using topic-ui to inspect my data as my records seem to be bigger than usual. This leads to that only the first 2-3 records are shown at all before time out.

After increasing: -e KAFKA_REST_CONSUMER_REQUEST_TIMEOUT_MS=30000 all records are shown however they seem to not correctly parsed due to some other timeouts in topic-ui. I found a closed issue in the topic-ui repository stating i should increase

-e MAX_BYTES=100000 -e RECORD_POLL_TIMEOUT=10000

This works fine when I start the standalone image of topics-ui but I seem to be not able to set these variables properly using fast-data-dev.

I tried :

-e KAFKA_TOPICS_UI_MAX_BYTES=100000 -e KAFKA_TOPICS_UI_RECORD_POLL_TIMEOUT=10000 and also -e MAX_BYTES=100000 -e -e RECORD_POLL_TIMEOUT=10000

But it looks like they are not properly pulled into Topics-UI.

What do I miss ? Thanks for your help.

Cheers Jan