Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (26 loc) · 822 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 822 Bytes

Config

Reset streams application

Reset topologi (kafka strømmen), application-id er laget av nais og finnes som env-var i poden

kubectl exec -i deploy/kafka-cli -- kafka-streams-application-reset \
 --application-id aap.vedtak_stream_ \
 --input-topics aap.medlem.v1

Show consumers in a group

kubectl exec -i deploy/kafka-cli -- kafka-consumer-groups \
 --group aap.vedtak_stream_ \
 --describe

List consumer groups

kubectl exec -i deploy/kafka-cli -- kafka-consumer-groups --list

Interactive shell commands

Use scripts from /scripts to include brokers and aiven config, e.g:

kubectl exec -i deploy/kafka-cli -- kafka-consumer-groups --list
kubectl exec -i deploy/kafka-cli -- kafka-topics --describe --topic aap.soknad-sendt.v1