Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit 211d728

Browse files
committed
Update README.md
1 parent c4adf30 commit 211d728

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ Event aggregation with spark streaming. The example includes event aggregation o
2121
### "java.lang.NoSuchMethodException" exception
2222
If you get the exception ```java.lang.NoSuchMethodException``` follow [this guide](https://support.datastax.com/entries/78731079--java-lang-NoSuchMethodException-seen-when-attempting-Spark-streaming-from-Kafka) to alleviate the problem.
2323

24+
### Kafka serialization errors
25+
If you installed Kafka via Homebrew, and see serialization errors on start it's probably because you're using Java 7, and Kafka was compiled with Java 8. Two possible workarounds exist: reinstall Kafka but don't use a keg, install the Java 8 JDK and supply the ```JAVA_HOME``` enviroment variable. Example below.
26+
```
27+
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/bin kafka-server-start.sh /usr/local/etc/kafka/server.properties
28+
```
29+
2430

2531
### Example output
2632
```

0 commit comments

Comments
 (0)