Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a09aee0

Browse files
committed
add snappy
1 parent e85f3c1 commit a09aee0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎docker/php/Dockerfile.alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARG PHP_EXTENSION_VERSION
1111
# Install packages
1212
RUN apk --no-cache upgrade && \
1313
apk --no-cache add bash sudo git gcc g++ make autoconf \
14-
icu openssl-dev cyrus-sasl-dev pcre-dev zstd-dev lz4-dev zlib-dev icu-dev wget gettext valgrind
14+
icu openssl-dev cyrus-sasl-dev pcre-dev zstd-dev snappy-dev lz4-dev zlib-dev icu-dev wget gettext valgrind
1515

1616
# Install librdkafka and ext-rdkafka
1717
RUN git clone --depth 1 --branch ${LIBRDKAFKA_VERSION} https://github.com/edenhill/librdkafka.git \

‎src/redpanda/pure-php/producer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// set broker
1313
$conf->set('metadata.broker.list', 'redpanda:9097');
1414
// set compression (supported are: none,gzip,lz4,snappy,zstd)
15-
$conf->set('compression.codec', 'zstd');
15+
$conf->set('compression.codec', 'snappy');
1616
// set timeout, producer will retry for 5s
1717
$conf->set('message.timeout.ms', '5000');
1818
//If you need to produce exactly once and want to keep the original produce order, uncomment the line below

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /