These are chat archives for arnaud-lb/php-rdkafka

30th
Oct 2018
tambach
@tambach
Oct 30 2018 08:34
Hello
i have this kind of issue
object(RdKafka\Message)#10 (7) {
["err"]=>
int(-191)
["topic_name"]=>
string(5) "test9"
["partition"]=>
int(0)
["payload"]=>
string(0) ""
["len"]=>
int(0)
["key"]=>
NULL
["offset"]=>
int(13)
}
int(-191)
the producer works well and send data
but consumer doesn't get t and when i var_dump error its like int(-191)
do you an idea what is that?
karavzeka
@karavzeka
Oct 30 2018 08:39
Are you sure that you pass string data to producer?
tambach
@tambach
Oct 30 2018 11:32
no i am passing an array of arrays
and i'm using serialize and unserialize functions
karavzeka
@karavzeka
Oct 30 2018 14:53
@tambach From source code:
/** Reached the end of the topic+partition queue on
     * the broker. Not really an error. */
RD_KAFKA_RESP_ERR__PARTITION_EOF = -191,
You get something like system message when reach the end of topic. You should just ignore message with such error code.
tambach
@tambach
Oct 30 2018 14:57
ok thank you @karavzeka