https://github.com/sanjuthomas/kafka-connect-socket
Kafka Source Socket Connector
https://github.com/sanjuthomas/kafka-connect-socket
java11 kafka kafka-connect kafka-connector
Last synced: 7 days ago
JSON representation
Kafka Source Socket Connector
- Host: GitHub
- URL: https://github.com/sanjuthomas/kafka-connect-socket
- Owner: sanjuthomas
- Created: 2021-04-03T00:13:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-05T00:43:44.000Z (about 5 years ago)
- Last Synced: 2025-10-15T10:23:18.186Z (8 months ago)
- Topics: java11, kafka, kafka-connect, kafka-connector
- Language: Java
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Kafka Connect Socket
Kafka Connect Socket read messages over TCP Socket. This connector can either accept connection from clients, or it can connect to a server.
#### How to build the project
mvn clean install
#### How to deploy the connector
Copy <>/target/kafka-connect-socket-1.0-SNAPSHOT-shaded.jar to <>/lib
Copy <>/etc/*.properties to <>/config
#### How to start the standalone connector in the server mode
<>/bin/connect-standalone.sh config/connect-standalone.properties config/[server-socket-source.properties](https://github.com/sanjuthomas/kafka-connect-socket/blob/master/etc/server-socket-source.properties)
#### How to start the standalone connector in the client mode
<>/bin/connect-standalone.sh config/connect-standalone.properties config/[client-socket-source.properties](https://github.com/sanjuthomas/kafka-connect-socket/blob/master/etc/client-socket-source.properties)
In the client mode, the connector will try to reconnect every minute by default if the TCP Server is not up. You can change that interval on the [client-socket-source.properties](https://github.com/sanjuthomas/kafka-connect-socket/blob/master/etc/client-socket-source.properties)
#### Limitations
1. No support for distributed mode
2. No support for more than one task thread
#### Questions
Create an issue [here](https://github.com/sanjuthomas/kafka-connect-socket/issues)
Send a note to kafka@sanju.org