Skip to content

Commit 065c5bf

Browse files
committed
.
1 parent 5cbb6be commit 065c5bf

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

netpalm/backend/core/executor/executor.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,8 @@ async def run(self) -> None:
8585
event_topics = self._event_registry.get_topics()
8686
all_topics = list(set(job_topics + event_topics))
8787

88-
# Discover existing pinned topics from Kafka metadata
89-
await self._consumer.start()
90-
cluster_topics = self._consumer.topics()
91-
pinned_prefix = self._settings.kafka_pinned_topic_prefix + "."
92-
pinned_topics = [t for t in cluster_topics if t.startswith(pinned_prefix)]
93-
all_topics = list(set(all_topics + pinned_topics))
94-
9588
self._consumer.subscribe(all_topics)
89+
await self._consumer.start()
9690
await self._producer.start()
9791
log.info(f"NetpalmExecutor: subscribed to {all_topics}")
9892

0 commit comments

Comments
 (0)