New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the produced message seems nerver sent to server, the outq_len() always none zero and nerver decrease #2030
Comments
delivery report callback not triggered |
config
|
Set nit: You should only create a topic once. |
maybe I got the problem, in the function 'rd_kafka_toppar_producer_serve'
rkm->rkm_u.producer.ts_backoff is default 0, now = rd_clock() and their type is int64_t; in win64 vs project, the value of 'now' seems always be negative, then the condition ''rkm->rkm_u.producer.ts_backoff > now" alway hit, and the function 'rd_kafka_ProduceRequest' has no chance to execute; then i try change the type of 'rd_ts_t' to uint64_t, seems it works, i can produce and consume topic message success |
You're most likely hitting the clock bug on windows: #1980 |
OK,thanks,i'll try it later |
Read the FAQ first: https://github.com/edenhill/librdkafka/wiki/FAQ
Description
in my test code, the topic can create success, and can get metadata success, but can't produce message success, the producer->outq_len() alway same and nerver decease to 0. seems that the message nerver sent to the server, alway in the sent queue.
================
the logs like this
the outq_len just increase when i send q produce request, and then stay the same.
Checklist
IMPORTANT: We will close issues where the checklist has not been completed.
Please provide the following information:
v0.11.5
0.11.0.3
<REPLACE with e.g., message.timeout.ms=123, auto.reset.offset=earliest, ..>
Win64
debug=..
as necessary) from librdkafkaThe text was updated successfully, but these errors were encountered: