Pil0tXia commented on code in PR #4650:
URL: https://github.com/apache/eventmesh/pull/4650#discussion_r1445729646


##########
eventmesh-connectors/eventmesh-connector-file/src/main/resources/source-config.yml:
##########
@@ -14,14 +14,22 @@
 # 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: fileSource
+    appId: 5032
+    userName: fileSourceUser
+    passWord: filePassWord
 connectorConfig:
     connectorName: fileSource
     nameserver: 127.0.0.1:9877
     topic: TopicTest
     commitOffsetIntervalMs: 5000
-    fileName: TopicTest-%s
-    filePath: TopicTest/%s
+    fileName: userFileName
+    filePath: userFilePath

Review Comment:
   The fileName (e.g., myFile) and filePath (e.g., /foo/bar) can be integrated 
into filePath (/foo/bar/myFile).
   
   myFile is a single file, and when it's large, the disk I/O may encounter 
performance issues. For now, it can be accepted.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to