Skip to content

Commit a6f0a29

Browse files
committed
reverted changes, specified rdkafka ext version
1 parent d6b7196 commit a6f0a29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/dev/php/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin -
3131

3232
# PHP: Install php extensions
3333
RUN pecl channel-update pecl.php.net && \
34-
pecl install rdkafka-6.0.0 pcov && \
34+
pecl install rdkafka-6.0.1 pcov && \
3535
docker-php-ext-install pcntl && \
3636
php-ext-enable rdkafka pcntl pcov
3737

src/Consumer/AbstractKafkaConsumer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ protected function getConsumerMessage(RdKafkaMessage $message): KafkaConsumerMes
230230
(int) $message->timestamp,
231231
$message->key,
232232
$message->payload,
233-
(array) ($message->headers ?? null)
233+
(array) $message->headers
234234
);
235235
}
236236

0 commit comments

Comments
 (0)