Open asafm opened 1 year ago
Looks like the default branch here could use an update - it's 7.1.1-post
but 7.3.3-post
is newest.
Can you git checkout 7.3.3-post
, do a clean build and try again? The RocksDB version on 7.1.1 is too old for Mac M1 support, per https://github.com/facebook/rocksdb/issues/7720 .
Perfect. It worked. The WARN I got from running that class were:
[2023-05-01 17:09:36,764] WARN [main] Using an OS temp directory in the state.dir property can cause failures with writing the checkpoint file due to the fact that this directory can be cleared by the OS. Resolved state.dir: [/var/folders/kc/tw2ty9r11f34925hs5ff_3yh0000gn/T//kafka-streams] (org.apache.kafka.streams.processor.internals.StateDirectory)
[2023-05-01 17:09:36,935] WARN [main] Error while loading kafka-streams-version.properties (org.apache.kafka.streams.internals.metrics.ClientMetrics)
java.lang.NullPointerException: inStream parameter is null
at java.base/java.util.Objects.requireNonNull(Objects.java:233)
at java.base/java.util.Properties.load(Properties.java:408)
at org.apache.kafka.streams.internals.metrics.ClientMetrics.<clinit>(ClientMetrics.java:53)
at org.apache.kafka.streams.KafkaStreams.<init>(KafkaStreams.java:894)
at org.apache.kafka.streams.KafkaStreams.<init>(KafkaStreams.java:856)
at org.apache.kafka.streams.KafkaStreams.<init>(KafkaStreams.java:826)
at org.apache.kafka.streams.KafkaStreams.<init>(KafkaStreams.java:738)
at io.confluent.examples.streams.AnomalyDetectionLambdaExample.main(AnomalyDetectionLambdaExample.java:159)
[2023-05-01 17:09:37,003] WARN [main] stream-thread [main] Failed to delete state store directory of /var/folders/kc/tw2ty9r11f34925hs5ff_3yh0000gn/T/kafka-streams/anomaly-detection-lambda-example for it is not empty (org.apache.kafka.streams.processor.internals.StateDirectory)
then
mvn clean compile -DskipTesta
Run AnomalyDetectionLambdaExample using IntelliJ on
7.1.1-post
branchFail:
Any idea?