dannym87 / php-kafka Goto Github PK
View Code? Open in Web Editor NEWSample PHP application using Docker containers to run Kafka & Zookeeper
Sample PHP application using Docker containers to run Kafka & Zookeeper
Here is detail:
`
ERROR: Service 'app' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y librdkafka-dev git zip unzip wget && pecl install rdkafka && docker-php-ext-enable rdkafka && wget https://raw.githubusercontent.com/composer/getcomposer.org/863c57de1807c99d984f7b56f0ea56ebd7e5045b/web/installer -O - -q | php -- --quiet --install-dir=/usr/local/bin --filename=composer && chmod +x /usr/local/bin/composer' returned a non-zero code: 1
`
docker-compose up -d
....
Build process completed successfully
Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/rdkafka.so'
install ok: channel://pecl.php.net/rdkafka-3.0.5
configuration option "php_ini" is not set to php.ini location
You should add "extension=rdkafka.so" to php.ini
Installer corrupt
Could not open input file: composer-setup.php
ERROR: Service 'app' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y librdkafka-dev git zip unzip && pecl install rdkafka && docker-php-ext-enable rdkafka && php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" && php composer-setup.php && php -r "unlink('composer-setup.php');" && mv /composer.phar /usr/local/bin/composer && chmod +x /usr/local/bin/composer' returned a non-zero code: 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.