Doğuş Technology
Published in

Doğuş Technology

GCP’de Kafka Kurulumu

GCP’de Kafka Kurulumu

Hangi yollar mevcut?

Apache Kafka Kurulumu

External ve Internal IP’leri Bulalım

Hızlı Bir Test

batuhan@kafka-vm:~$ export BROKER_IP=10.164.0.2
batuhan@kafka-vm:~$ sudo apt install -y kafkacat
batuhan@kafka-vm:~$ echo 'Heyyo!' | kafkacat -b $BROKER_IP:9092 -t dt_topic
batuhan@kafka-vm:~$ kafkacat -b $BROKER_IP:9092 -t dt_topic -e
Heyyo!
Giphy

Firewall Rule (Kuralları)

Firewall Kuralları

Kafka Ayarları

batuhan@kafka-vm:~$ sudo nano /opt/kafka/config/server.properties
advertised.listeners=PLAINTEXT://123.45.67.89:9092
batuhan@kafka-vm:~$ sudo systemctl restart kafka

Kafka Client

--

--

Doğuş Technology — Digital Solutions Group

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store