Skip to content

Commit

Permalink
Use pulsar container 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ozangunalp committed Nov 26, 2024
1 parent 9687ccb commit e142a27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private MapBasedConfig dataconfig() {
.with("mp.messaging.incoming.data.subscriptionInitialPosition", SubscriptionInitialPosition.Earliest)
.with("mp.messaging.incoming.data.subscriptionName", topic + "-subscription")
.with("mp.messaging.incoming.data.subscriptionType", SubscriptionType.Key_Shared)
.with("mp.messaging.incoming.data.concurrency", 3);
.with("mp.messaging.incoming.data.concurrency", 6); // TODO Since Pulsar 4.0 at least one consumer is always idle
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

public class PulsarContainer extends GenericContainer<PulsarContainer> {

public static final DockerImageName PULSAR_IMAGE = DockerImageName.parse("apachepulsar/pulsar:3.3.2");
public static final DockerImageName PULSAR_IMAGE = DockerImageName.parse("apachepulsar/pulsar:4.0.0");

public static final String STARTER_SCRIPT = "/run_pulsar.sh";

Expand Down

0 comments on commit e142a27

Please sign in to comment.