[KAFKA-396] Fix log level from INFO to ERROR when Change Stream failed Created: 11/Jan/24  Updated: 07/Feb/24  Resolved: 07/Feb/24

Status: Closed
Project: Kafka Connector
Component/s: Source
Affects Version/s: None
Fix Version/s: 1.11.2

Type: Bug Priority: Major - P3
Reporter: Robert Walters Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Customer reported issue when change stream fails we log at the info-level rather than at the error-level.  There is a PR attached for the proposed change

 

https://github.com/mongodb/mongo-kafka/pull/90



 Comments   
Comment by Githook User [ 07/Feb/24 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross@mongodb.com', 'username': 'rozza'}

Message: Improve error logging and handling (#150)

When looping a cursor fails log the error at an
a error log level.

If errors aren't tolerated then throw an exception instead of
continuing to loop.

KAFKA-396
Branch: master
https://github.com/mongodb/mongo-kafka/commit/8068a450953da6803fe27070ac1629387ca7e26c

Comment by Tom Selander [ 16/Jan/24 ]

Triage: Need to investigate further to determine path forward, this may be a bug. We can change the log level now, and file a followup ticket to investigate how we handle errors in Kafka.

Generated at Thu Feb 08 09:06:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.