Skip to content

Commit

Permalink
Slide updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tisnik committed Mar 25, 2024
1 parent 1e5ecc1 commit db3f690
Showing 1 changed file with 41 additions and 2 deletions.
43 changes: 41 additions & 2 deletions docs/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ [email protected]
- ActiveMQ (Artemis)
- RabbitMQ
- IBM MQ
- SQS (as a service)
- etc.

---
Expand Down Expand Up @@ -232,6 +233,11 @@ [email protected]

---

![Kafka logo](images/kafka_logo.png)

---


## Basic concepts

* Message
Expand Down Expand Up @@ -513,13 +519,16 @@ log.roll.hours

## Practical part

![Kafka logo](images/kafka_logo.png)

---

### Kafka installation

* download tarball
* [download tarball](https://kafka.apache.org/downloads)
* uncompress
* fix problems
* fixes for common problems
- 32/64bit JRE version on downloads page!!!
- JRE needs to be installed
- use directories w/o spaces
- use short path (ideally c:\kafka on Win)
Expand Down Expand Up @@ -618,6 +627,30 @@ zookeeper.connection.timeout.ms=6000

---

### Localhost settings

```properties
broker.id=100
listeners=PLAINTEXT://localhost:9092
num.network.threads=3
num.io.threads=8

socket.send.buffer.bytes=102400
socket.receive.buffer.bytes=102400
socket.request.max.bytes=104857600

log.dirs=/tmp/kafka-logs
num.partitions=1
num.recovery.threads.per.data.dir=1
log.retention.hours=168
log.segment.bytes=1073741824

zookeeper.connect=localhost:2181
zookeeper.connection.timeout.ms=6000
```

---

### Starting server

```
Expand Down Expand Up @@ -1613,6 +1646,12 @@ value.converter.schemas.enable=false

---

### Setup libs directory

* `connect-standalone.properties`

---

### Use the connector

* Starting
Expand Down

0 comments on commit db3f690

Please sign in to comment.