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

18th
Oct 2018
karavzeka
@karavzeka
Oct 18 2018 07:11
If servername is the same for a producer as for a consumer, you get each topic name twice. In that case it's enough call getMetadata() and getTopics() only on consumer.
karavzeka
@karavzeka
Oct 18 2018 07:19
@bbaga I tried to run consumer script with strace and I didn't have any rows with nanosleep :confused:
But I used low level consumer. I didn't explore high level consumer.
bbaga
@bbaga
Oct 18 2018 07:43
@karavzeka thanks, I'll try the low level ones and see what that does, it just seems weird that the nanosleep actually waits 100ms probably more than once, that adds up to unbearable response times really quick
@karavzeka oh wait, I see the nanosleep with the high level producer, I'll try the high level consumer and the low level ones as well for comparison
bbaga
@bbaga
Oct 18 2018 07:48
nevertheless the only mention of nanosleep is I could find is in librdkakfa's tinythread.c
karavzeka
@karavzeka
Oct 18 2018 07:55
I did't look in C code, so no comments :smile: