Comments (6)
@ksbalan2018 I think this is because on the master
branch the parent pom's version atm is set to 5.1.0-SNAPSHOT
which cannot be resolved as it isn't available in the confluent's maven repo. I'd suggest trying the following:
- Make sure you are on branch
5.0.0-post
(or whatever the current latest-post
version is) - Run
mvn clean install -Dmaven.test.skip=true
from kafka-streams-examples.
I executed mvn clean install -Dmaven.test.skip=true
but still no luck I'm afraid. Looks like the io.confluent.examples.streams.avro
package is missing from the project, even when on the 5.0.0-post
branch. I'm using IntelliJ, in case that makes a difference.
Where exactly should this package be? Is part of the build process meant to create it? If so, is it meant to generate a JAR, or some actual source files? Just so I know where to look to see if I can find the generated artefacts in case I need to manually add them to my project or something.
Thanks.
from kafka-streams-examples.
@yonigibbs ' issue has been resolved in #160 and I believe @Miro-Marinov 's response resolves @ksbalan2018 's issue, I'm closing this ticket for now.
from kafka-streams-examples.
@yonigibbs just to confirm I did the same command as above and did not encounter the reported issue.
@ java -version
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
@ scala -version
Scala code runner version 2.11.7 -- Copyright 2002-2013, LAMP/EPFL
from kafka-streams-examples.
Cool, thanks very much for looking into this. I did a bit more investigation, and now think I've got to the bottom of this issue, so I'll explain in case anyone else comes across the problem.
Firstly, to answer my question above, the generated source files go here:
/target/generated-sources/io/confluent/examples/streams/avro
If you do encounter the problem, the solution is to find this folder in your IDE (I'm using IntelliJ in this case): /target/generated-sources
, and mark it as a "generated sources root". That sorted out my project in IntelliJ.
Now as to why you couldn't replicate it, @guozhangwang: I believe it's to do with the order you do things in. If you do it in this order, the problem will not occur:
- Clone the repo
- Run
mvn clean install -Dmaven.test.skip=true
- Open the project in IntelliJ
- Build the project in IntelliJ
However if you swap do steps 3 and 4 before 2, the problem will occur (at least it did in my case: IntelliJ on Ubuntu). For some reason IntelliJ doesn't recognise that generated-sources
folder as one that contains generated sources. So the solution is simply to mark it as such (right-click on the folder -> Mark Directory as -> Generated Sources Root).
from kafka-streams-examples.
Thanks for letting me know!
from kafka-streams-examples.
Related Issues (20)
- DeduplicationTransformer example only supports 1 partition HOT 2
- [BUG] microservices-orders: unknown command "READ" for "ccloud kafka acl create" HOT 3
- how to Packaging and running the Application Examples HOT 1
- GlobalKTablesAndStoresExampleDriver hangs with GlobalKTablesExample HOT 5
- How to create Kafka Server with org.apache.kafka:kafka_2.13:test:2.7.1 HOT 1
- Naming when adding global store HOT 4
- Do we have example on Kafka Stream Processor API to handle Smart routing case HOT 1
- ditch awaits in docker compose file
- Gitpodify so people can easily run the examples with 0 setup
- Do we have example to handle processor exception.
- Join operation is not working after update to 1.2.0 HOT 1
- Is The class of DeserializationExceptionHandler support construct with parameters HOT 1
- Consistency between inventory KTable/Topic and state store "reservedStock" for "shipped" event HOT 1
- Regarding Sum example HOT 1
- Can't find the package io.confluent.examples.streams.avro in src folder HOT 1
- How to suppress window using wall clock time instead of event time in Kafka streams? HOT 1
- Can't load library when running AnomalyDetectionLambdaExample HOT 2
- Case: 100+ KafkaStreams threads on 3.5k+ topics/partitions with exactly_once_v2 guarantee HOT 8
- Event driven order
- Kafka Streams ERROR Could not parse Avro schema
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kafka-streams-examples.