Commit 470eedd7 authored by 李世星's avatar 李世星

fix(新增jenkinsfile文件): 202301301128

parent e7279e39
/.idea
*.exe
/log
logtransfer
*.conf
\ No newline at end of file
logtransfer.conf
\ No newline at end of file
This diff is collapsed.
# Kafka配置
[kafka]
address=http://120.25.235.220:9092
#Etcd配置
[etcd]
address=etcd0:23790,etcd1:23791
#Es配置
[es]
address=http://47.106.69.239:9320
bulk_size=2
\ No newline at end of file
# Kafka配置
[kafka]
address=http://120.25.235.220:9092
#Etcd配置
[etcd]
address=192.168.2.129:23790,192.168.2.129:23791
#Es配置
[es]
address=http://47.106.69.239:9320
bulk_size=2
\ No newline at end of file
......@@ -17,7 +17,11 @@ func generateTopic(config TopicConfig) *Topic {
// log.Println("get config", currentTopic.PipelineConfig)
for _, v := range config.PipelineConfig {
currentPlugin := plugin.RegistedPlugins[v.Name]
currentPlugin, ok := plugin.RegistedPlugins[v.Name]
if !ok {
log.Printf("get RegistedPlugins error:%s ", v.Name)
continue
}
err := currentPlugin.SetParams(v.Params)
if err != nil {
log.Panicln("plugin encode params error:", err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment