[KAFKA-234] Clean up MongoSourceTask Created: 07/Jul/21 Updated: 04/Dec/23 |
|
| Status: | Backlog |
| Project: | Kafka Connector |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.12.0 |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Ross Lawley | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | size-medium | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Epic Link: | Kafka 3.0 | ||||||||||||||||
| Quarter: | FY24Q3 | ||||||||||||||||
| Description |
|
Move cursor handling and creation logic out to its own class to help improve the readability of the code. Refactor the tests in MongoSourceTaskIntegrationTest2 so that they become unit tests in MongoSourceTaskTest/StartedMongoSourceTaskTest and don't depend heavily on internal methods of the object under test (see here for a more detailed list of problems). |