@@ -51,7 +51,7 @@ function (RdKafkaConsumer $kafka, int $err, string $reason): void {
51
51
function (RdKafkaConsumer $ kafka , int $ err , ?array $ partitions = null ): void {
52
52
switch ($ err ) {
53
53
case RD_KAFKA_RESP_ERR__ASSIGN_PARTITIONS :
54
- $ this ->logger ->info (
54
+ $ this ->logger ->debug (
55
55
'Assigning partitions ' ,
56
56
$ partitions === null ? [] : array_map (
57
57
static function (TopicPartition $ partition ): string {
@@ -63,7 +63,7 @@ static function (TopicPartition $partition): string {
63
63
$ kafka ->assign ($ partitions );
64
64
break ;
65
65
case RD_KAFKA_RESP_ERR__REVOKE_PARTITIONS :
66
- $ this ->logger ->info (
66
+ $ this ->logger ->debug (
67
67
'Revoking partitions ' ,
68
68
$ partitions === null ? [] : array_map (
69
69
static function (TopicPartition $ partition ): string {
@@ -170,11 +170,11 @@ private function doStart(
170
170
$ onPartitionEof ();
171
171
}
172
172
173
- $ this ->logger ->info ('No more messages. Will wait for more ' );
173
+ $ this ->logger ->debug ('No more messages. Will wait for more ' );
174
174
175
175
break ;
176
176
case RD_KAFKA_RESP_ERR__TIMED_OUT :
177
- $ this ->logger ->info (sprintf ('Timed out with timeout %d ms ' , $ timeoutMs ));
177
+ $ this ->logger ->debug (sprintf ('Timed out with timeout %d ms ' , $ timeoutMs ));
178
178
if ($ onTimedOut !== null ) {
179
179
$ onTimedOut ();
180
180
}
@@ -225,7 +225,7 @@ private function checkBatchTimedOut(
225
225
226
226
public function shutdown (): void
227
227
{
228
- $ this ->logger ->info ('Shutting down ' );
228
+ $ this ->logger ->debug ('Shutting down ' );
229
229
230
230
$ this ->shouldRun = false ;
231
231
}
0 commit comments