This is a Kafka Producer that reads SMPP protocol messages, and publishes to Kafka topics.
The SMPP (Short Message Peer-to-Peer) protocol is an open, industry standard protocol designed to provide a flexible data communications interface for the transfer of short message data between External Short Message Entities (ESME), Routing Entities (RE) and Message Centres (MC). It is a means by which applications can send SMS messages to mobile devices and receive SMS from mobile devices.
This is done using an SMPP connection with a Short Message Service Center (SMSC), SMS gateway, SMPP gateway or hub.
Supports SMPP versions 3.x and 5
Additionally, you can write your re-use the test server under com.subhadipmitra.code.module.ServerMainTest
You may want to update the object mappers for the SMS text and Kafka JSON payload.
Update com.subhadipmitra.code.module.models
-
Clone Repository
git clone https://github.com/bassrehab/smpp-kafka-producer.git
-
Change Folder
cd smpp-kafka-producer
-
Optional, upgrade dependencies
mvn versions:display-dependency-updates
-
Compile
mvn clean package
-
Update Kafka Configs (Update Kafka for SASL/SSL configs)
settings/config.properties
-
Update SMPP Server Configs
settings/context.xml
-
Output Directory
out/smpp-producer
-
Run
sh run.sh
Read LICENSE.md