Skip to content

Commit e45d19c

Browse files
committed
Clarify producev() NotImplemented error string
1 parent 1e9bde6 commit e45d19c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

confluent_kafka/src/Producer.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,11 @@ static PyObject *Producer_produce (Handle *self, PyObject *args,
328328
#if !HAVE_PRODUCEV
329329
if (timestamp) {
330330
PyErr_Format(PyExc_NotImplementedError,
331-
"Producer timestamps require librdkafka "
332-
"version >=v0.9.4 (currently on %s)",
333-
rd_kafka_version_str());
331+
"Producer timestamps require "
332+
"confluent-kafka-python built for librdkafka "
333+
"version >=v0.9.4 (librdkafka runtime 0x%x, "
334+
"buildtime 0x%x)",
335+
rd_kafka_version(), RD_KAFKA_VERSION);
334336
return NULL;
335337
}
336338
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy