Initial TCA commit into DCAEGEN2
[dcaegen2/analytics/tca.git] / dcae-analytics-cdap-plugins / widgets / DMaaPMRSink-batchsink.json
1 {
2   "metadata": {
3     "spec-version": "1.3"
4   },
5   "configuration-groups": [
6     {
7       "label": "DMaaP MR Sink Configuration",
8       "properties": [
9         {
10           "widget-type": "textbox",
11           "label": "Reference Name",
12           "name": "referenceName",
13           "widget-attributes": {
14             "default": "DMaaPMRSink"
15           }
16         },
17         {
18           "widget-type": "textbox",
19           "label": "Host Name",
20           "name": "hostName"
21         },
22         {
23           "widget-type": "number",
24           "label": "Host Port number",
25           "name": "portNumber"
26         },
27         {
28           "widget-type": "textbox",
29           "label": "Topic Name",
30           "name": "topicName"
31         },
32         {
33           "widget-type": "textbox",
34           "label": "Protocol",
35           "name": "protocol",
36           "widget-attributes": {
37             "default": "https"
38           }
39         },
40         {
41           "widget-type": "textbox",
42           "label": "User Name",
43           "name": "userName"
44         },
45         {
46           "widget-type": "textbox",
47           "label": "User Password",
48           "name": "userPassword"
49         },
50         {
51           "widget-type": "textbox",
52           "label": "Content Type'",
53           "name": "contentType",
54           "widget-attributes": {
55             "default": "application/json"
56           }
57         },
58         {
59           "widget-type": "string",
60           "label": "Message Column Name",
61           "name": "messageColumnName",
62           "widget-attributes": {
63             "default": "message"
64           }
65         },
66         {
67           "widget-type": "string",
68           "label": "Max Batch Size",
69           "name": "maxBatchSize",
70           "widget-attributes": {
71             "default": "50"
72           }
73         },
74         {
75           "widget-type": "string",
76           "label": "Max Recovery Queue Size",
77           "name": "maxRecoveryQueueSize"
78         }
79       ]
80     }
81   ],
82   "outputs": [
83     {
84       "name": "schema",
85       "widget-type": "schema",
86       "widget-attributes": {
87         "schema-types": [
88           "string"
89         ],
90         "schema-default-type": "string"
91       }
92     }
93   ]
94 }