You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "haifxu (via GitHub)" <gi...@apache.org> on 2023/04/04 03:12:03 UTC

[GitHub] [inlong] haifxu opened a new pull request, #7780: [INLONG-7778][Manager] Add default value for JSON file of the create command

haifxu opened a new pull request, #7780:
URL: https://github.com/apache/inlong/pull/7780

   ### Prepare a Pull Request
   
   - Fixes #7778 
   
   ### Motivation
   
   Optimize the create command for ease of use.
   
   ### Modifications
   
   Set default value for group conf.
   
   ### Verifying this change
   
   ![image](https://user-images.githubusercontent.com/58519431/229677344-e1373170-a7eb-4d9e-bc07-6c8a91d60820.png)
   


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [inlong] dockerzhang merged pull request #7780: [INLONG-7778][Manager] Add default value for JSON file of the create command

Posted by "dockerzhang (via GitHub)" <gi...@apache.org>.
dockerzhang merged PR #7780:
URL: https://github.com/apache/inlong/pull/7780


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [inlong] haifxu commented on pull request #7780: [INLONG-7778][Manager] Add default value for JSON file of the create command

Posted by "haifxu (via GitHub)" <gi...@apache.org>.
haifxu commented on PR #7780:
URL: https://github.com/apache/inlong/pull/7780#issuecomment-1495292109

   > @haifxu could you please add an example JSON?
   
   Here is an example of `file -> pulsar -> clickhouse`
   ```
   {
       "groupInfo": {
           "inlongGroupId": "test_group_ctl",
           "inlongClusterTag": "default_cluster",
           "mqType": "PULSAR"
       },
       "streamInfo": {
           "inlongStreamId": "test_stream_ctl",
           "dataType": "test",
           "fieldList": [
               {
                   "fieldName": "name",
                   "fieldType": "string"
               }
           ],
           "sourceList": [
               {
                   "sourceType": "FILE",
                   "sourceName": "test_source_ctl",
                   "agentIp": "127.0.0.1",
                   "pattern": "/data/test.txt"
               }
           ],
           "sinkList": [
               {
                   "sinkType": "CLICKHOUSE",
                   "sinkName": "test_sink_ctl",
                   "dataNodeName": "test_clickhouse",
                   "dbName": "db_test",
                   "tableName": "table_test",
                   "flushInterval": 1,
                   "flushRecord": 1000,
                   "retryTimes": 3,
                   "engine": "Log",
                   "isDistributed": 1,
                   "sinkFieldList": [
                       {
                           "sourceFieldName": "name",
                           "sourceFieldType": "string",
                           "fieldName": "name",
                           "fieldType": "string"
                       }
                   ]
               }
           ]
       }
   }
   ```
   For complete examples, I will update the command line documentation: 
   https://inlong.apache.org/zh-CN/docs/next/user_guide/command_line_tools


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [inlong] dockerzhang commented on pull request #7780: [INLONG-7778][Manager] Add default value for JSON file of the create command

Posted by "dockerzhang (via GitHub)" <gi...@apache.org>.
dockerzhang commented on PR #7780:
URL: https://github.com/apache/inlong/pull/7780#issuecomment-1495284961

   @haifxu could you please add an example JSON?


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org