Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Sep 5, 2024
1 parent 37c6c2d commit c5682e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin-server/tests/cdp/helpers/kafka-observer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const createKafkaObserver = async (hub: Hub, topics: string[]): Promise<T

const adminClient = createAdminClient(createRdConnectionConfigFromEnvVars(hub))
await Promise.all(topics.map((topic) => ensureTopicExists(adminClient, topic, 1000)))
adminClient.disconnect()

consumer.connect()
consumer.subscribe(topics)
Expand Down

0 comments on commit c5682e8

Please sign in to comment.