New Contributor
Posts: 1
Registered: ‎07-04-2018

Kafka installation from yum

When instatlling kafka from yum repo, two problems encounter.


- Where there may contain cloudera-kafka.repo that contains version 3.1.0?


The repo info for redhat 7 (as below) only provides kafka version 1. But I need the version 3.1.0 packaged by cloudera.


- After kafka and kafka-server packages are installed, how can I start kafka server?


In vallnila kafka version, we can start kafka broker by ` config/`, then ` config/`. However, checking `kafka` + tab, only following commands are available.


    kafka-console-consumer            kafka-reassign-partitions
    kafka-console-producer            kafka-run-class
    kafka-consumer-offset-checker     kafka-topics

Posts: 735
Registered: ‎05-16-2016

Re: Kafka installation from yum

[ Edited ]

Could you check the below parcel information .








 sudo service kafka-server start.




Cloudera Employee
Posts: 228
Registered: ‎01-09-2014

Re: Kafka installation from yum

You can edit the cloudera-kafka.repo file and change the version number to the desired version.

# Packages for Cloudera's Distribution for kafka, Version 1, on RedHat or CentOS 7 x86_64
name=Cloudera's Distribution for kafka, Version 3
gpgkey =
gpgcheck = 1