Teet Vaher
05/21/2024, 10:12 AMGET <https://localhost:8443/admin/v2/non-persistent/tenant/ns/topic/internal-info> - fails with http status code 500 "Error 500 Request failed". I'll check if I can find the log.
GET <https://localhost:8443/admin/v2/non-persistent/tenant/ns/topic/unload> - removes the topic from broker but does not recreate it? Is it normal?
GET <https://localhost:8443/admin/v2/non-persistent/tenant/ns/topic/compaction> - correct redirect (307) if broker does not serve the topic, but exception from the serving broker (see thread)
GET <https://localhost:8443/admin/v2/non-persistent/tenant/ns/topic/partitions> - no redirect (307) if broker does not own the topic, but 404 "reason": "Topic <non-persistent://tenant/ns/topic> not found"
Most uncomfortable is the /partitions error because terraform provider uses this command and fails if it gets 404. Should I used partitioned topic (3 partitions) to avoid this error?Teet Vaher
05/21/2024, 10:14 AMLari Hotari
05/21/2024, 10:50 AMTeet Vaher
05/21/2024, 10:51 AMLari Hotari
05/21/2024, 10:52 AMTeet Vaher
05/21/2024, 10:54 AMTeet Vaher
05/21/2024, 10:55 AMTeet Vaher
05/21/2024, 11:27 AM/unload admin api request (non-persistent topic is not recreated):
> Currently, non-persistent topics which are not partitioned are not persisted to ZooKeeper, which means if the broker owning them crashes, they do not get re-assigned to another broker because they only exist in the owner broker memory. The current workaround is to set the value of allowAutoTopicCreation to true and allowAutoTopicCreationType to non-partitioned (they are default values) in broker configuration.