You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-23Lines changed: 9 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,32 +2,32 @@
2
2
3
3
## Kafka single node setup
4
4
5
-
On a single machine, a **3 broker** kafka instance is at best the minimum, for a hassle-free working. Also, **replication factor is set to 2**.
5
+
On a single machine, a **3 broker** kafka instance is at best the minimum, for a hassle-free working. Also, **replication factor is set to 2**.
6
6
7
7
Say X,Y and Z are our kafka brokers. With replication factor 2, the data in X will be copied to both Y & Z, the data in Y will be copied to X & Z and the data of Z is copied to X & Y.
8
8
9
9
### Prerequisites
10
10
- have java >= 1.8 installed.
11
-
- get **binary** distribution of Kafka from [here](https://kafka.apache.org/downloads) .
12
-
13
-
### Setup
11
+
- get **binary** distribution of Kafka from [here](https://kafka.apache.org/downloads) .
12
+
13
+
### Setup
14
14
Extract the contents of the kafka archive to a convenient place and `cd` into it. Use a terminal multiplexer to run the components that make the kafka eco-system.
15
15
16
16
#### Zookeeper
17
-
- Edit the config file `config/server.properties` and change the `dataDir` entry to some place that does not get wiped after a reboot.
17
+
- Edit the config file `config/server.properties` and change the `dataDir` entry to some place that does not get wiped after a reboot.
0 commit comments