Mehrdad Masoumi
Mehrdad Masoumi

Reputation: 410

kafka after reboot cluster or os remove all connectors

I use rest api for Kafka Connect. After reboot server all connectors are deleted and return result is empty.

curl -H "Accept:application/json" localhost:8083/connectors

output is : []

Upvotes: 0

Views: 665

Answers (1)

OneCricketeer
OneCricketeer

Reputation: 191874

Connectors are stored in Kafka topics

By default, Kafka (and Zookeeper) stores its topics/data under /tmp, which is wiped on restart

As mentioned in the comments, there are also other ways you'd end up with temporary data

Upvotes: 2

Related Questions