You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@eventmesh.apache.org by "hhuang1231 (via GitHub)" <gi...@apache.org> on 2023/12/01 07:22:23 UTC
Re: [PR] [ISSUE #4420] Add Feishu Sink connector (eventmesh)
hhuang1231 commented on code in PR #4522:
URL: https://github.com/apache/eventmesh/pull/4522#discussion_r1411710473
##########
eventmesh-connectors/eventmesh-connector-feishu/src/main/resources/sink-config.yml:
##########
@@ -0,0 +1,30 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+pubSubConfig:
+ meshAddress: 127.0.0.1:10000
+ subject: TopicTest
+ idc: FT
+ env: PRD
+ group: feishuSink
+ appId: 5031
+ userName: feishuSinkUser
+ passWord: feishuPassWord
+connectorConfig:
+ connectorName: feishuSink
+ reciveId: reciveIdValue
+ reciveType: open_id
Review Comment:
The `reciveId` and `recoverType` fields in the `sink-config.yml` are different from the field names in `SinkConnectorConfig`, which will cause the configuration to fail to be imported correctly.
@SunnyBoy-WYH 配置文件中reciveId和reciveType字段与SinkConnectorConfig中字段名不同,这将导致配置无法正确导入。
##########
eventmesh-connectors/eventmesh-connector-feishu/src/main/resources/sink-config.yml:
##########
@@ -0,0 +1,30 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+pubSubConfig:
+ meshAddress: 127.0.0.1:10000
+ subject: TopicTest
+ idc: FT
+ env: PRD
+ group: feishuSink
+ appId: 5031
+ userName: feishuSinkUser
+ passWord: feishuPassWord
+connectorConfig:
+ connectorName: feishuSink
+ reciveId: reciveIdValue
+ reciveType: open_id
Review Comment:
The `reciveId` and `recoverType` fields in the `sink-config.yml` are different from the field names in `SinkConnectorConfig`, which will cause the configuration to fail to be imported correctly.
@SunnyBoy-WYH 配置文件中reciveId和reciveType字段与SinkConnectorConfig中字段名不同,这将导致配置无法正确导入。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org