onlybooks / kafka Goto Github PK
View Code? Open in Web Editor NEW카프카, 데이터 플랫폼의 최강자
카프카, 데이터 플랫폼의 최강자
LineSplit.java 가 제대로 빌드되려면 다음 코드를 추가해야 합니다.
(제 환경에서만 그런건지는 모르지만...)
저는 다음과 같이 에러가 났습니다.
[ERROR] /root/streams.examples/src/main/java/myapps/LineSplit.java:[34]
[ERROR] KStream<String, String> source = builder.stream("streams-plaintext-input");
[ERROR] ^^^^^^^
[ERROR] KStream cannot be resolved to a type
[ERROR] /root/streams.examples/src/main/java/myapps/LineSplit.java:[34]
[ERROR] KStream<String, String> source = builder.stream("streams-plaintext-input");
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Type mismatch: cannot convert from KStream<Object,Object> to KStream<String,String>
[ERROR] 2 problems (2 errors)
다음 두 가지를 추가해서 해결했습니다.
KStream 추가 import
import org.apache.kafka.streams.kstream.KStream;
Arrays 유틸 추가 import
import java.util.Arrays
이상입니다. 에러나신 분들 참고하시길
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.