Comments (9)
re -1001 confusion: understandable! we'll add a constant for that to lessen the confusion.
from confluent-kafka-python.
Negative backoffs are okay (just an impl detail) when there is no backoff in place.
The fast rate is due to fetch.wait.max.ms which defaults to 100ms, so when nothing new is happening you'll have 10 Fetch requests per second.
from confluent-kafka-python.
Is your code any different from this:
def test_pos ():
c = Consumer({"bootstrap.servers":"0",
"group.id":"xx3",
"enable.auto.commit":False,
"default.topic.config":{"auto.offset.reset":"earliest"}})
c.subscribe(["test"])
while True:
m = c.poll(1)
print(m)
tp = TopicPartition("test", 0)
cs = c.committed([tp])
print('committed offsets for',tp, 'is', cs)
c.close()
This works as expected for me, committed() is not hanging:
None
('committed offsets for', TopicPartition{topic=test,partition=0,offset=-1001,error=None}, 'is', [TopicPartition{topic=test,partition=0,offset=-1001,error=None}])
<cimpl.Message object at 0x7f1248b06fa0>
('committed offsets for', TopicPartition{topic=test,partition=0,offset=-1001,error=None}, 'is', [TopicPartition{topic=test,partition=0,offset=-1001,error=None}])
<cimpl.Message object at 0x7f1248ac0050>
...
from confluent-kafka-python.
ping @fillest
from confluent-kafka-python.
ping @fillest
from confluent-kafka-python.
Sorry for the delays, I'm overloaded at work at the moment :(
from confluent-kafka-python.
No problem :)
from confluent-kafka-python.
@fillest any progress on this?
See comment: #68 (comment)
from confluent-kafka-python.
Closed due to inactivity
from confluent-kafka-python.
Related Issues (20)
- PyPI package is badly built
- AdminClient is stuck at `CONNECT` when using `OAUTHBEARER` with `SASL_SSL` protocol HOT 5
- V2.3.0 not support python2.7.8 HOT 1
- String representation of a TopicPartition raises a SystemError on Windows with Python 3.12.1 and Confluent Kafka Python 2.3.0
- OverflowError: Python int too large to convert to C int when using confluent_kafka Avro deserializer HOT 2
- Kafka returning same set of records even after full records fetched from the table
- SASL Authentication issue HOT 4
- Missing log messages when closing the program HOT 1
- future is done but cannot return result() in delete_topics HOT 3
- confluent-kafka-python vs aiokafka for Asynchronous applications HOT 4
- Install failed when using 32bit python3.12 on Windows
- Not support validating fields with the `format: email` in JSON Schema.
- Initializing producer throws segfault
- SSL Handshake failed with 2.0.0+ version but works <2.0.0 HOT 7
- TopicCollection is missing in __all__ HOT 3
- Transactional producer is does not commit message causing `Local: Erroneous state` HOT 1
- AdminClient does not work with logger HOT 1
- AdminClient caching all topics in metadata request calls HOT 6
- Cannot Unit test producer that takes confluent_kafka.Producer as dependency
- Access denied error for IAM role based AWS MSK cluster while using confluent-kafka python library
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from confluent-kafka-python.