-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Open
Description
I am receiving the following error in the TaskTwoTests file even before I try implementing a listener specifically with "kafkaProducer.send(transactionLine);":
"java.lang.NumberFormatException: For input string: "122.86
5"
at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString([FloatingDecimal.java:2054](..."
The data file this is using has 122.86 and 5 separated by a new line character. It had no issues processing the numbers beforehand separated by a comma. The yaml file was actually blank when I downloaded the zip so a used the solution provided in the other post (Thank you for that). Am I meant to fix this somehow in my listener class, or could there be an error in my configuration files? I am running VS Code on Windows 11.
Metadata
Metadata
Assignees
Labels
No labels