From 5549d04cb1e540d5c6bc4a1aa4b1daea6a3eb463 Mon Sep 17 00:00:00 2001 From: lichao Date: Fri, 12 Apr 2019 17:56:34 +0800 Subject: [PATCH 1/2] fix bug, issue:#258 --- src/Protocol/Produce.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/Produce.php b/src/Protocol/Produce.php index 23c87af7..dd7af518 100644 --- a/src/Protocol/Produce.php +++ b/src/Protocol/Produce.php @@ -293,7 +293,7 @@ protected function producePartitionPair(string $data, int $version): array 'data' => [ 'partition' => $partitionId, 'errorCode' => $errorCode, - 'offset' => $offset, + 'offset' => $partitionOffset, 'timestamp' => $timestamp, ], ]; From d0f22602fad527f0de0de1fcfcce990b076888aa Mon Sep 17 00:00:00 2001 From: superli Date: Wed, 17 Apr 2019 16:48:16 +0800 Subject: [PATCH 2/2] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 26c44346..04e4ab29 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "nmred/kafka-php", + "name": "superli/kafka-php", "description": "Kafka client for php", "type": "library", "keywords": [