You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change removes the support for HTTP Callbacs.
This mechanism is deprecated and will be removed in
futre Marathon releases.
Breaking changes:
* Remove `sse-enabled` and `web-enabled` flags
Fixes: #253
Copy file name to clipboardexpand all lines: README.md
+8-14
Original file line number
Diff line number
Diff line change
@@ -98,23 +98,15 @@ your cert store might be different depending on your system.
98
98
docker run '/etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt' -P allegro/marathon-consul
99
99
```
100
100
101
-
## Setting up `marathon-consul` after installation
102
-
103
-
The Marathon [event bus](https://mesosphere.github.io/marathon/docs/event-bus.html) should point to [`/events`](#endpoints). You can set up the event subscription with a call similar to this one:
104
-
```
105
-
curl -X POST 'http://marathon.service.consul:8080/v2/eventSubscriptions?callbackUrl=http://marathon-consul.service.consul:4000/events'
106
-
```
107
-
The event subscription should be set to `localhost` to reduce network traffic.
108
-
109
101
## Usage
110
102
111
103
### Marathon masters
112
104
113
105
- marathon-consul should be installed on all Marathon masters
114
106
115
-
### Mesos slaves
107
+
### Mesos agents
116
108
117
-
- Consul Agents should be available on every Mesos slave.
109
+
- Consul Agents should be available on every Mesos agent.
118
110
- Tasks will be registered at the Mesos slave they run on.
`/events` | event sink - returns `OK` if all keys are set in an event, error message otherwise
248
237
249
238
## Advanced usage
250
239
@@ -322,14 +311,19 @@ reregister all healthy services managed by marathon-consul to the new format. Un
322
311
323
312
## SSE Support
324
313
325
-
In future callback interface between marathon and marathon-consul will be replaced by SSE.
326
314
While using SSE please consider:
327
315
- SSE is using Web module config for queues, event sizes, in the future will be moved to sse module,
328
316
- SSE is using marathon-leader config for determining current leader, when this value match leader returned by marathon (/v2/leader endpoint)
329
317
then SSE is started on this instance,
330
318
- when enabled SSE is spawning its own own set of workers and separated dispatcher,
331
319
- be advised to disable marathon callback subscription when enabling SSE, otherwise it might result in doubling registers and deregisers.
332
320
321
+
## HTTP callbacks support
322
+
323
+
Marathon-Consul does not support HTTP callbacks.
324
+
Marathon [deprecated support for HTTP callbacks in 1.4](https://github.com/mesosphere/marathon/blob/master/changelog.md#deprecate-event-callback-subscriptions).
325
+
This mechanism is no longer available starting from [Marathon 1.5](https://github.com/mesosphere/marathon/blob/master/changelog.md#event-subscribers-has-been-removed).
326
+
333
327
## Known limitations
334
328
335
329
The following section describes known limitations in `marathon-consul`.
0 commit comments