Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Raise exception on rebalance_cb arg building failure
  • Loading branch information
edenhill committed Apr 25, 2016
commit 5433bb8b77c7925f108c5142d0a51704d5874c67
1 change: 1 addition & 0 deletions Consumer.c
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@ static void Consumer_rebalance_cb (rd_kafka_t *rk, rd_kafka_resp_err_t err,
cfl_PyErr_Format(RD_KAFKA_RESP_ERR__FAIL,
"Unable to build callback args");
self->thread_state = PyEval_SaveThread();
self->callback_crashed++;
return;
}

Expand Down