[KAFKA-256] errors when trying to run MongoDB Kafka Connector Docker Example Created: 21/Oct/21 Updated: 28/Oct/23 Resolved: 10/Nov/21 |
|
| Status: | Closed |
| Project: | Kafka Connector |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Unknown |
| Reporter: | Dror Mikdash (Inactive) | Assignee: | Ross Lawley |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | internal-user, kafka-connect | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Case: | (copied to CRM) |
| Description |
|
This issue is similar to
when following the instructions in the MongoDB Kafka Connector Docker Example on MacOS, as follows : ./run.sh im getting these error messages :
I have JDK 11 on the mac, and gradle installed on the machine Would appreciate any advice/assistance thanks, Dror |
| Comments |
| Comment by Ross Lawley [ 04/Nov/21 ] |
|
Hi dror.mikdash, Gradle (the Java build tool) has been updated on master and should now work with newer versions of Java. This was the underlying cause of the error with docker not working on the mac. Please could you try again, using the latest master and confirm? Many thanks, Ross |
| Comment by Ross Lawley [ 01/Nov/21 ] |
|
Hi dror.mikdash, I think even though Java 11 is available it might not be set as the main JDK - so its picking up a later version (possibly Java 17) and this version is causing the build tool (gradle) to fail. I've created a PR to update the build tool and that should fix the issue. While that is in review and not in the main repo, it can be tested by downloading the fork and seeing if that fixes the issue: https://github.com/rozza/mongo-kafka/tree/KAFKA-256 All the best, Ross |
| Comment by Ross Lawley [ 01/Nov/21 ] |