We are actually trying to consume Snowplow enriched events and
convert them into a JSON format. To achieve this, we are using snowplow-scala-analytics-sdk
Of course, SBT is just a build tool - you can use any JVM build tool to include the dependency in your project. It’s currently hosted in our Snowplow Maven repo; we will be moving it to Maven Central at some point.
A NoSuchMethodError normally means that you have a missing dependency at runtime. You should create a fatjar of your app to pull in the Scala Analytics SDK’s own dependencies.
Thanks for the quick support!!
I need some more help here …
Do we have this sdk dependency available on maven, as we are not using sbt ?
– Of course, SBT is just a build tool - you can use any JVM build tool
to include the dependency in your project. It’s currently hosted in our Snowplow Maven repo; we will be moving it to Maven Central at some point.
–> Link for Snowplow Maven Repo where there sdk is hosted ??
Maybe it can be of some help. Here is my working example of Flink code translating enriched events to JSON format. It is reading events from one Kafka topic and writing to another one. https://github.com/rbox24/snowplow-flink-enriched2json