How To Install Apache Kafka on Ubuntu 14.04

发布时间:2017-6-29 17:09:48 编辑:www.fx114.net 分享查询网我要评论
本篇文章主要介绍了"How To Install Apache Kafka on Ubuntu 14.04 ",主要涉及到How To Install Apache Kafka on Ubuntu 14.04 方面的内容,对于How To Install Apache Kafka on Ubuntu 14.04 感兴趣的同学可以参考一下。

打算学习kafka ,接触一些新的知识。加油!!!

参考:https://www.digitalocean.com/community/tutorials/how-to-install-apache-kafka-on-ubuntu-14-04

 这篇文章也不错,翻译的: http://www.howtoing.com/how-to-install-apache-kafka-on-ubuntu-14-04/

Introduction

Apache Kafka is a popular distributed message broker designed to handle large volumes of real-time data efficiently. A Kafka cluster is not only highly scalable and fault-tolerant, but it also has a much higher throughput compared to other message brokers such as ActiveMQ and RabbitMQ. Though it is generally used as a pub/sub messaging system, a lot of organizations also use it for log aggregation because it offers persistent storage for published messages.

In this tutorial, you will learn how to install and use Apache Kafka 0.8.2.1 on Ubuntu 14.04.

 

Prerequisites

To follow along, you will need:

 

Step 1 — Create a User for Kafka

As Kafka can handle requests over a network, you should create a dedicated user for it. This minimizes damage to your Ubuntu machine should the Kafka server be comprised.

Note: After setting up Apache Kafka, it is recommended that you create a different non-root user to perform other tasks on this server.

As root, create a user called kafka using the useradd command:

  • useradd kafka -m

Set its password using passwd:

  • passwd kafka

Add it to the sudo group so that it has the privileges required to install Kafka's dependencies. This can be done using the adduser command:

  • adduser kafka sudo

Your Kafka user is now ready. Log into it using su:


上一篇:FORM标准默认时间区间处理
下一篇:lumen 构建api(dingo api)

相关文章

相关评论

本站评论功能暂时取消,后续此功能例行通知。

一、不得利用本站危害国家安全、泄露国家秘密,不得侵犯国家社会集体的和公民的合法权益,不得利用本站制作、复制和传播不法有害信息!

二、互相尊重,对自己的言论和行为负责。