Closed maver1ck closed 6 years ago
Hi @maver1ck. Our fast-data-dev image offers a Kafka 2.0 tag (landoop/fast-data-dev:2.0
) and there Topics UI works.
So I guess the issue may come from your Kafka REST setup. You can try to set consumer.request.timeout.ms
to 30 seconds for Kafka REST and see what happens.
@andmarios Thank you for showing me this configuration option. That was the reason of my problems.
Glad we tackled it! Please do not try to set it too low, because of a long-standing bug in Kafka REST, this option controls both the REST's Kafka Consumer and the timeout for the REST clients (like Topics UI).
So if you decrease it to make the REST clients get responses faster, you risk the consumer timing out before consuming messages.
I set:
for Topics UI
MAX_BYTES: 50000
RECORD_POLL_TIMEOUT: 5000
for Kafka REST
KAFKA_REST_CONSUMER_REQUEST_TIMEOUT_MS: 30000
It's working fine.
This is very strange bug. For some topics I can't see any records and I'm getting "Topic is empty" message.
I increased MAX_BYTES and RECORD_POLL_TIMEOUT, but without success. What I'm doing wrong ?
Docker configuration
Logs from UI:
Logs from REST:
Data is there: