stream-reactor | Streaming reference architecture for ETL with Kafka | Pub Sub library
kandi X-RAY | stream-reactor Summary
kandi X-RAY | stream-reactor Summary
A collection of components to build a real time ingestion pipeline.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of stream-reactor
stream-reactor Key Features
stream-reactor Examples and Code Snippets
Community Discussions
Trending Discussions on stream-reactor
QUESTION
While running the connectors for kafka-connect-ftp showing this below error
...ANSWER
Answered 2018-Jan-16 at 19:01There are two main issues with this connector:
- It bundles, along with its dependencies, classes from Connect's API. E.g. classes in the package
org.apache.kafka.connect
. This is not advised and such dependencies should be marked as provided. - The actual reason that the connector fails with classloading issues is that it is depending (at least according to its
master
branch) on a version of Apache Kafka that probably does not match the version of the deployed Connect worker. Specifically, it depends onkafkaVersion = '0.10.2.0'
which is not the latest. Kafka Connect, in its recent versions that offer classloading isolation, will ignore what it considers system classes, such as classes inorg.apache.kafka.connect
when they are imported by connectors' jars. Instead, it will load such classes from the Kafka Connect jars that ship with Apache Kafka.
The above issues may cause classloading failures, as the ones you observe.
Ideally, they should be addressed at the connector level.
Workarounds you may apply are:
- build the connector code from source, after upgrading the Kafka version it depends upon and also marking its Kafka dependencies as provided (including Kafka Connect and Kafka Clients dependencies). Or,
- downgrade your deployed Kafka Connect version to match exactly the version that the connector currently depends upon.
A similar issue has been recorded here: kafka mongodb sink connector not starting
QUESTION
When I try to start Kafka connect for elastic search reactor, in stand alone mode I receive the following error:
...ANSWER
Answered 2018-May-02 at 08:10The error kinda says it all. You're missing a required configuration entry, for key.converter
. This tells Kafka Connect how to deserialise the data on the Kafka topic (JSON or Avro, usually).
You can see an example of a valid connector configuration for Elasticsearch here in this gist. If you update your question to include the configuration you're using, I can point out how to incorporate it.
After seeing your config, the cause of your error is that you're invoking Connect with your config files in the wrong order, and hence Connect can't find the config it is expecting.
Should be:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install stream-reactor
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page