Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2. Run JMeter script to recreate Kafka topics

View file
namerecreate-folio-kafka-topics.zip

*JMeter is simple API automation tool used by PTF for various purposes (e.g. API automation, load generation, etc.)

...

JMeter will do POST ${kafdropHostorIP}:${kafdropPort}/topic with parameters topic, replicationFactor and partitions.

Conclusions

This approach may be recreated with another API automation tool (postman, even curl). FSE may want to adapt it for their own purposes.

This is the simple way to recreate lot of topics on new Kafka cluster using Kafdrop API + JMeter.

PTF has not fully automated it yet so there’s some manual steps (like getting a topics name and partition count).