-
下载安装mi
-
运行mi
bin/micro-integrator.sh 参数有stop start restart
hosts 配置本机名字
3. 配置sap
配置gateway host name
Copy the Linux native SAP jcolibrary libsapjco3.so to <JDK_HOME>/jre/lib/amd64 .
conf/sap 目录下2个文件 ECQ.dest ECQ.server
lib/ 放sapidoc3.jar sapjco3.jar
conf/deployement.toml 加入
[transport.sap]
listener.idoc.enable=true
listener.idoc.class="org.wso2.carbon.transports.sap.SAPTransportListener"
4. 配置kafka
lib/ 目录加入jar
kafka_2.11-2.4.1.jar kafka-clients-2.4.1.jar metrics-core-2.2.0.jar scala-library-2.11.12.jar zkclient-0.10.jar zookeeper-3.6.0.jar
5. 防火墙开端口
SAP gateway 3301
SAP message server 3602
kafka 9092
6. 接口开发
打包kafka connector
开发SAP_IDOC_DISPATCH
7.启动mi
sh micro-integrator.sh start