Skip to content

Commit e3c1bcd

Browse files
authored
Remove Kafka logging (#290)
1 parent 92945d1 commit e3c1bcd

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/launchpad/kafka.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -173,25 +173,9 @@ def create_with_partitions(
173173
partitions: Mapping[Partition, int],
174174
) -> ProcessingStrategy[KafkaPayload]:
175175
"""Create the processing strategy chain."""
176-
logger.info("KAFKASETUP: Creating processing strategy chain")
177-
logger.info(f"KAFKASETUP: Partitions: {dict(partitions)}")
178-
logger.info(f"KAFKASETUP: Commit strategy: {type(commit)}")
179-
180-
# Start with the commit strategy (always last in chain)
181176
next_step: ProcessingStrategy[Any] = CommitOffsets(commit)
182-
logger.info("KAFKASETUP: Base strategy: CommitOffsets")
183-
184-
logger.info("KAFKASETUP: Checking healthcheck configuration...")
185-
logger.info(f"KAFKASETUP: Healthcheck file configured: {self.healthcheck_file}")
186-
logger.info("KAFKASETUP: Adding Healthcheck strategy to processing chain")
187177
assert self.healthcheck_file
188178
next_step = Healthcheck(self.healthcheck_file, next_step)
189-
logger.info("KAFKASETUP: Healthcheck strategy added successfully")
190-
191-
# Use RunTaskInThreads for concurrent processing
192-
logger.info("KAFKASETUP: Setting up concurrent message processing")
193-
logger.info(f"KAFKASETUP: Concurrency level: {self.concurrency}")
194-
logger.info(f"KAFKASETUP: Max pending futures: {self.max_pending_futures}")
195179

196180
def process_message(msg: Message[KafkaPayload]) -> Any:
197181
try:
@@ -208,8 +192,6 @@ def process_message(msg: Message[KafkaPayload]) -> Any:
208192
next_step=next_step,
209193
)
210194

211-
logger.info("KAFKASETUP: Processing strategy chain creation complete")
212-
logger.info(f"KAFKASETUP: Final strategy type: {type(strategy)}")
213195
return strategy
214196

215197

0 commit comments

Comments
 (0)