kid-xiong

Results comments of kid-xiong

你有更详细的日志信息吗?可以加微信私聊,374545700

1.如果你想将业务唯一key变成_id,直接在sql里写就行了,例如 select user_id as _id ....;如果你的唯一key是多个字段组成,select concat(field_1,'-',field_2.....) as _id 2.在你的mongoDBOutput增加一个参数:writeconfig.replaceDocument = "false";就可以起到update的效果了 有什么不明白的可以+我微信 374545700

如果是使用pre版本请换成alpha

如果需要使用sql插件的话,在JdbcSource插件里增加一个参数,resutl_table_name='xxxxxx' 然后sql插件里sql = "select * from xxxx"