diff --git a/samples/snippets/src/main/java/pubsub/SubscribeAsyncUnlimitedConcurrencyExample.java b/samples/snippets/src/main/java/pubsub/SubscribeAsyncUnlimitedConcurrencyExample.java index fbbb5225e..7419e0ba9 100644 --- a/samples/snippets/src/main/java/pubsub/SubscribeAsyncUnlimitedConcurrencyExample.java +++ b/samples/snippets/src/main/java/pubsub/SubscribeAsyncUnlimitedConcurrencyExample.java @@ -31,7 +31,7 @@ public class SubscribeAsyncUnlimitedConcurrencyExample { public static void main(String... args) throws Exception { // TODO(developer): Replace these variables before running the sample. - String projectId = "my-topic"; + String projectId = "my-project"; String subscriptionId = "my-subscription"; subscribeAsyncUnlimitedConcurrencyExample(projectId, subscriptionId);