Deprecate actor materializer (#27538)
This commit is contained in:
parent
8765a4fbe6
commit
b68d67008a
118 changed files with 1233 additions and 731 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue