mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
0e36db5437
librdkafka usually polls both messages on the first SELECT, but sometimes only one. If it polls only one message first, then it will read two messages before rebalancing at the second SELECT from the table. This means it usually reads a single message twice (thus num_messages_read = 4 is usually fine as 1 discarded message + 3 actually consumed message). But when only one message is read in the first SELECT, then 2 messages are discarded, thus num_messages_read will be 5 as 2 discarded message + 3 actually consumed messages. |
||
---|---|---|
.. | ||
clickhouse_path/format_schemas | ||
configs | ||
__init__.py | ||
kafka_pb2.py | ||
message_with_repeated_pb2.py | ||
social_pb2.py | ||
test_kafka_json.reference | ||
test_kafka_virtual1.reference | ||
test_kafka_virtual2.reference | ||
test.py |