-
Notifications
You must be signed in to change notification settings - Fork 35
3.4.0 Breaking Changes
Thomas Segismont edited this page Mar 6, 2017
·
12 revisions
-
CompositeFuture#result(int)
replaced byCompositeFuture#resultAt(int)
-
VertxMetrics#createMetrics(NetServer, SocketAddress, NetServerOptions)
replaced byVertxMetrics#createMetrics(SocketAddress, NetServerOptions)
- Replacement of the following types that were used as work-around for limitations and are now non necessary anymore
-
io.vertx.core.datagram.PacketWriteStream
->WriteStream<Buffer>
-
io.vertx.core.http.ServerWebSocketStream
->ReadStream<ServerWebSocket>
-
io.vertx.core.http.WebSocketStream
->ReadStream<WebSocket>
-
io.vertx.core.http.HttpServerRequestStream
->ReadStream<HttpServerRequest>
-
io.vertx.core.net.NetSocketStream
->ReadStream<NetSocket>
-
- Images has been renamed in order to provide both "busybox" (standard) and "alpine" version. See https://groups.google.com/d/msg/vertx/km7ffCh7yss/Am3yMSS8BQAJ for further details.
- The
ServiceImporter#stop
has been removed, and replaced byServiceImporter#close
.
- For consistency's sake, some JSON config field names have been deprecated, in favor of their
DropwizardOptions
equivalent:-
monitoredHandlers
becomesmonitoredEventBusHandlers
-
monitoredServerUris
becomesmonitoredHttpServerUris
-
monitoredClientUris
becomesmonitoredHttpClientUris
-
monitoredClientEndpoints
becomesmonitoredHttpClientEndpoints
-
Note that the deprecated field names will no longer be supported starting from 3.5.0.
- Create method now requires Vertx instance as first argument.
- Vert.x Auth Shiro is not included anymore by default
- Event bus subscription data type changed
The data structure for sharing event bus subscription has been changed from ServerID
to ClusterNodeInfo
.
This was needed to solve cluster stability issues after node crashes or partitions.
As a consequence, all members of the cluster must use the 3.4.0 version.
Also the removeAllMatching
method has been added to io.vertx.core.spi.cluster.AsyncMultiMap
.