summaryrefslogtreecommitdiffstats
path: root/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/dmaap/dmaap_config.json
blob: d0d304b6cf5f3f2987167d89056d59b60aca5cc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
  "dmaap_subscribers": [
    {
      "id": "subscriber1",
      "type": "message_router",
      "url": "https://HOSTNAME:3905/events/DcaeTestVESSub1",
      "username": "username",
      "password": "password",
      "message_limit": -1,
      "timeout": 30000,
      "consumer_group": "cg1",
      "consumers": [
        "c1",
        "c2"
      ],
      "polling_strategy": {
        "fixedRate": 30000
      },
      "proxy_url": "https//user:password@proxyhost:proxyport"
    },
    {
      "id": "subscriber2",
      "type": "message_router",
      "url": "https://HOSTNAME:3905/events/DcaeTestVESSub2",
      "username": "username",
      "password": "password",
      "message_limit": 50000,
      "timeout": 30000,
      "consumer_group": "cg2",
      "consumers": [
        "c1",
        "c2"
      ],
      "polling_strategy": {
        "auto_adjusting": {
          "minimum": 20000,
          "step_up": 20000,
          "maximum": 120000,
          "step_down": 100000
        }
      }
    }
  ],
  "dmaap_publishers": [
    {
      "id": "publisher1",
      "type": "message_router",
      "url": "https://HOSTNAME:3905/events/DcaeTestVESPub1",
      "username": "username",
      "password": "password",
      "batching": {
        "enabled": true,
        "maximum_messages": 10,
        "maximum_time": 20000
      }
    },
    {
      "id": "publisher2",
      "type": "message_router",
      "url": "https://HOSTNAME:3905/events/DcaeTestVESPub1",
      "username": "username",
      "password": "password",
      "batching": {
        "enabled": false
      }
    }
  ]
}