Created
November 29, 2021 07:20
-
-
Save luccabb/163e456b170def0d5eb851588066ea45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kafka.admin import KafkaAdminClient, NewTopic | |
admin_client = KafkaAdminClient( | |
bootstrap_servers="localhost:9093", | |
client_id='test' | |
) | |
admin_client.delete_topics(['topic_name']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment