{"action":"closed","issue":{"url":"https://api.github.com/repos/arnaud-lb/php-rdkafka/issues/56","repository_url":"https://api.github.com/repos/arnaud-lb/php-rdkafka","labels_url":"https://api.github.com/repos/arnaud-lb/php-rdkafka/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/arnaud-lb/php-rdkafka/issues/56/comments","events_url":"https://api.github.com/repos/arnaud-lb/php-rdkafka/issues/56/events","html_url":"https://github.com/arnaud-lb/php-rdkafka/issues/56","id":157842508,"number":56,"title":"My producer executed once,but it produced 3 records.","user":{"login":"305983806","id":12771098,"avatar_url":"https://avatars.githubusercontent.com/u/12771098?v=3","gravatar_id":"","url":"https://api.github.com/users/305983806","html_url":"https://github.com/305983806","followers_url":"https://api.github.com/users/305983806/followers","following_url":"https://api.github.com/users/305983806/following{/other_user}","gists_url":"https://api.github.com/users/305983806/gists{/gist_id}","starred_url":"https://api.github.com/users/305983806/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/305983806/subscriptions","organizations_url":"https://api.github.com/users/305983806/orgs","repos_url":"https://api.github.com/users/305983806/repos","events_url":"https://api.github.com/users/305983806/events{/privacy}","received_events_url":"https://api.github.com/users/305983806/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-01T07:40:26Z","updated_at":"2016-10-03T07:38:19Z","closed_at":"2016-10-03T07:38:19Z","body":" * PHP version: 5.5.35\r\n * Kafka version: 0.8.2\r\n * librdkafka version: master\r\n * php-rdkfaka version: master\r\n\r\n## PHP Code\r\n```php\r\n<?php\r\n    $rk = new \\RdKafka\\Producer();\r\n    $rk->setLogLevel(LOG_DEBUG);\r\n    $rk->addBrokers(env(\"KAFKA_HOST\"));\r\n    $topic = $rk->newTopic($topic);\r\n    $topic->produce(RD_KAFKA_PARTITION_UA, 0, $content);\r\n```\r\n\r\n## My Issues\r\n```\r\n# bin/kafka-console-consumer.sh --zookeeper localhost:2181 --from-beginning --topic AppAccess\r\n123\tua12555354\t1464766008000\r\n123\tua12555354\t1464766008000\r\n123\tua12555354\t1464766008000\r\n```\r\n\r\n## Question\r\nMy producer executed once,but it produced 3 records.\r\nI don't know in which part the problem occurs.\r\n"}}
{"actor":{"display_login":"arnaud-lb"}}