Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion confluent_kafka/src/Consumer.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ static PyObject *Consumer_assign (Handle *self, PyObject *tlist) {

if (err) {
cfl_PyErr_Format(err,
"Failed to set assignemnt: %s",
"Failed to set assignment: %s",
rd_kafka_err2str(err));
return NULL;
}
Expand Down
4 changes: 2 additions & 2 deletions confluent_kafka/src/Producer.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,15 +371,15 @@ static PyMethodDef Producer_methods[] = {
" This is an asynchronous operation, an application may use the "
"``callback`` (alias ``on_delivery``) argument to pass a function "
"(or lambda) that will be called from :py:func:`poll()` when the "
"message has been succesfully delivered or permanently fails delivery.\n"
"message has been successfully delivered or permanently fails delivery.\n"
"\n"
" :param str topic: Topic to produce message to\n"
" :param str|bytes value: Message payload\n"
" :param str|bytes key: Message key\n"
" :param int partition: Partition to produce to, elses uses the "
"configured partitioner.\n"
" :param func on_delivery(err,msg): Delivery report callback to call "
"(from :py:func:`poll()` or :py:func:`flush()`) on succesful or "
"(from :py:func:`poll()` or :py:func:`flush()`) on successful or "
"failed delivery\n"
"\n"
" :rtype: None\n"
Expand Down