Skip to content

Commit

Permalink
fix kafka streamer commit --skip-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch committed Apr 29, 2024
1 parent 158eb45 commit 45b26d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cwm_worker_operator/kafka_streamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def commit(topic, consumer, domains_config, agg_data, no_kafka_commit=False):
raise NotImplementedError(f"topic {topic} is not supported")
if not no_kafka_commit:
consumer.commit()
agg_data.clear()


def delete_records(topic, latest_partition_offset):
Expand Down

0 comments on commit 45b26d9

Please sign in to comment.