<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Kafka on seth-shi</title><link>https://sethix.com/tags/kafka/</link><description>Recent content in Kafka on seth-shi</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Fri, 08 May 2020 15:54:20 +0800</lastBuildDate><atom:link href="https://sethix.com/tags/kafka/index.xml" rel="self" type="application/rss+xml"/><item><title>Install php-rdkafka Extension and Use Kafka for Logging</title><link>https://sethix.com/posts/2020050815/</link><pubDate>Fri, 08 May 2020 15:54:20 +0800</pubDate><guid>https://sethix.com/posts/2020050815/</guid><description>Recently, the user logs in our project have reached hundreds of millions. For convenience, we previously stored them directly in MySQL. Now big data requirements are pushing us to migrate these logs to Kafka.
Installation Development Environment Considerations Windows for local development Non-compiled installation for testing environment Production environment maintained by Ops team Linux Installation Ensure pecl is installed: pecl help version Install via pecl: sudo pecl install rdkafka Compile from Source Install dependencies (requires librdkafka):</description></item></channel></rss>