Deprecate actor materializer (#27538)

This commit is contained in:
Johan Andrén 2019-09-05 16:08:37 +02:00 committed by GitHub
parent 8765a4fbe6
commit b68d67008a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
118 changed files with 1233 additions and 731 deletions

View file

@ -62,7 +62,7 @@ public class HubDocTest extends AbstractJavaTest {
@Test
public void dynamicBroadcast() {
// Used to be able to clean up the running stream
ActorMaterializer materializer = ActorMaterializer.create(system);
Materializer materializer = Materializer.create(system);
// #broadcast-hub
// A simple producer that publishes a new "message" every second
@ -134,7 +134,7 @@ public class HubDocTest extends AbstractJavaTest {
@Test
public void dynamicPartition() {
// Used to be able to clean up the running stream
ActorMaterializer materializer = ActorMaterializer.create(system);
Materializer materializer = Materializer.create(system);
// #partition-hub
// A simple producer that publishes a new "message-n" every second
@ -182,7 +182,7 @@ public class HubDocTest extends AbstractJavaTest {
@Test
public void dynamicStatefulPartition() {
// Used to be able to clean up the running stream
ActorMaterializer materializer = ActorMaterializer.create(system);
Materializer materializer = Materializer.create(system);
// #partition-hub-stateful
// A simple producer that publishes a new "message-n" every second
@ -215,7 +215,7 @@ public class HubDocTest extends AbstractJavaTest {
@Test
public void dynamicFastestPartition() {
// Used to be able to clean up the running stream
ActorMaterializer materializer = ActorMaterializer.create(system);
Materializer materializer = Materializer.create(system);
// #partition-hub-fastest
Source<Integer, NotUsed> producer = Source.range(0, 100);