Skip to content

Commit 748189d

Browse files
committed
Update warning message
1 parent 733cadd commit 748189d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/rdkafka/RdKafkaProducer.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ public function send(Destination $destination, Message $message): void
5050
if (version_compare(RdKafkaContext::getLibrdKafkaVersion(), '1.0.0', '>=')
5151
&& version_compare(phpversion('rdkafka'), '3.1.0', '<=')) {
5252
trigger_error(
53-
'Phprdkafka <= 3.1.0 is incompatible with librdkafka 1.0.0 when calling `producev`',
53+
'Phprdkafka <= 3.1.0 is incompatible with librdkafka 1.0.0 when calling `producev`. ' .
54+
'Falling back to `produce` (without message headers) instead.',
5455
E_USER_WARNING
5556
);
5657
} else {

0 commit comments

Comments
 (0)