Skip to content

Commit 3fab584

Browse files
committed
Bump confluent-kafka to 2.11.0
1 parent 8d398b0 commit 3fab584

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

conda/post-link.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ $PREFIX/bin/pip install \
66
'influxdb3-python[pandas]>=0.7,<1.0' \
77
'pyiceberg[pyarrow,glue]>=0.7' \
88
'redis[hiredis]>=5.2.0,<6' \
9-
'confluent-kafka[avro,json,protobuf,schemaregistry]>=2.8.2,<2.11' \
9+
'confluent-kafka[avro,json,protobuf,schemaregistry]>=2.8.2,<2.12' \
1010
'influxdb>=5.3,<6' \
1111
'jsonpath_ng>=1.7.0,<2' \
1212
'types-psycopg2>=2.9,<3'

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
confluent-kafka[avro,json,protobuf,schemaregistry]>=2.8.2,<2.11
1+
confluent-kafka[avro,json,protobuf,schemaregistry]>=2.8.2,<2.12
22
requests>=2.32
33
rocksdict>=0.3,<0.4
44
typing_extensions>=4.8

tests/test_quixstreams/test_kafka/test_consumer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ def test_consumer_subscribe_topic_doesnt_exist(self, consumer):
7070

7171
with consumer:
7272
consumer.subscribe(topics=[topic_name])
73+
start_time = time.time()
7374
msg = consumer.poll(timeout=3)
75+
elapsed_time = time.time() - start_time
76+
print(f"Poll operation took {elapsed_time:.3f} seconds")
7477
assert msg
7578
err = msg.error()
7679
assert err.code() == KafkaError.UNKNOWN_TOPIC_OR_PART

0 commit comments

Comments
 (0)