Skip to content

Commit e6aa338

Browse files
chore: Update generation configuration at Fri Jan 24 02:23:58 UTC 2025 (#2318)
* chore: Update generation configuration at Fri Jan 24 02:23:58 UTC 2025 * chore: generate libraries at Fri Jan 24 02:24:33 UTC 2025
1 parent eea603b commit e6aa338

File tree

6 files changed

+10
-15
lines changed

6 files changed

+10
-15
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
1919
<dependency>
2020
<groupId>com.google.cloud</groupId>
2121
<artifactId>libraries-bom</artifactId>
22-
<version>26.52.0</version>
22+
<version>26.53.0</version>
2323
<type>pom</type>
2424
<scope>import</scope>
2525
</dependency>
@@ -43,7 +43,7 @@ If you are using Maven without the BOM, add this to your dependencies:
4343
<dependency>
4444
<groupId>com.google.cloud</groupId>
4545
<artifactId>google-cloud-pubsub</artifactId>
46-
<version>1.135.0</version>
46+
<version>1.136.0</version>
4747
</dependency>
4848

4949
```
@@ -253,7 +253,10 @@ Samples are in the [`samples/`](https://github.com/googleapis/java-pubsub/tree/m
253253
| Create Subscription With Filtering | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateSubscriptionWithFiltering.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateSubscriptionWithFiltering.java) |
254254
| Create Subscription With Ordering | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateSubscriptionWithOrdering.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateSubscriptionWithOrdering.java) |
255255
| Create Topic Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateTopicExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateTopicExample.java) |
256+
| Create Topic With Aws Msk Ingestion Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateTopicWithAwsMskIngestionExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateTopicWithAwsMskIngestionExample.java) |
257+
| Create Topic With Azure Event Hubs Ingestion Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateTopicWithAzureEventHubsIngestionExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateTopicWithAzureEventHubsIngestionExample.java) |
256258
| Create Topic With Cloud Storage Ingestion Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateTopicWithCloudStorageIngestionExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateTopicWithCloudStorageIngestionExample.java) |
259+
| Create Topic With Confluent Cloud Ingestion Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateTopicWithConfluentCloudIngestionExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateTopicWithConfluentCloudIngestionExample.java) |
257260
| Create Topic With Kinesis Ingestion Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateTopicWithKinesisIngestionExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateTopicWithKinesisIngestionExample.java) |
258261
| Create Topic With Schema Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateTopicWithSchemaExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateTopicWithSchemaExample.java) |
259262
| Create Topic With Schema Revisions Example | [source code](https://github.com/googleapis/java-pubsub/blob/main/samples/snippets/src/main/java/pubsub/CreateTopicWithSchemaRevisionsExample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-pubsub&page=editor&open_in_editor=samples/snippets/src/main/java/pubsub/CreateTopicWithSchemaRevisionsExample.java) |

generation_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
gapic_generator_version: 2.51.1
2-
googleapis_commitish: 1a0e353ac4a372cf7016df4ce0a7d7e609f339b3
2+
googleapis_commitish: 08e6c4ec008d4a7924d4c507565e6f7da7e0c751
33
libraries_bom_version: 26.53.0
44
libraries:
55
- api_shortname: pubsub

samples/snippets/src/main/java/pubsub/CreateTopicWithAwsMskIngestionExample.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
// [START pubsub_create_topic_with_aws_msk_ingestion]
2020

2121
import com.google.cloud.pubsub.v1.TopicAdminClient;
22-
import com.google.cloud.pubsub.v1.TopicAdminSettings;
2322
import com.google.pubsub.v1.IngestionDataSourceSettings;
2423
import com.google.pubsub.v1.Topic;
2524
import com.google.pubsub.v1.TopicName;

samples/snippets/src/main/java/pubsub/CreateTopicWithAzureEventHubsIngestionExample.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
// [START pubsub_create_topic_with_azure_event_hubs_ingestion]
2020

2121
import com.google.cloud.pubsub.v1.TopicAdminClient;
22-
import com.google.cloud.pubsub.v1.TopicAdminSettings;
2322
import com.google.pubsub.v1.IngestionDataSourceSettings;
2423
import com.google.pubsub.v1.Topic;
2524
import com.google.pubsub.v1.TopicName;

samples/snippets/src/main/java/pubsub/CreateTopicWithConfluentCloudIngestionExample.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
// [START pubsub_create_topic_with_confluent_cloud_ingestion]
2020

2121
import com.google.cloud.pubsub.v1.TopicAdminClient;
22-
import com.google.cloud.pubsub.v1.TopicAdminSettings;
2322
import com.google.pubsub.v1.IngestionDataSourceSettings;
2423
import com.google.pubsub.v1.Topic;
2524
import com.google.pubsub.v1.TopicName;

samples/snippets/src/test/java/pubsub/AdminIT.java

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public class AdminIT {
9292
private static final String cloudStorageMinimumObjectCreateTimeSeconds = "seconds: 1";
9393
// AWS MSK ingestion settings.
9494
String clusterArn =
95-
"arn:aws:kafka:us-east-1:111111111111:cluster/fake-cluster-name/11111111-1111-1";
95+
"arn:aws:kafka:us-east-1:111111111111:cluster/fake-cluster-name/11111111-1111-1";
9696
String mskTopic = "fake-msk-topic-name";
9797
// Confluent Cloud ingestion settings.
9898
String bootstrapServer = "fake-bootstrap-server-id.us-south1.gcp.confluent.cloud:9092";
@@ -394,12 +394,7 @@ public void testAdmin() throws Exception {
394394
bout.reset();
395395
// Test create topic with AWS MSK ingestion settings.
396396
CreateTopicWithAwsMskIngestionExample.createTopicWithAwsMskIngestionExample(
397-
projectId,
398-
awsMskIngestionTopicId,
399-
clusterArn,
400-
mskTopic,
401-
awsRoleArn,
402-
gcpServiceAccount);
397+
projectId, awsMskIngestionTopicId, clusterArn, mskTopic, awsRoleArn, gcpServiceAccount);
403398
assertThat(bout.toString())
404399
.contains("google.pubsub.v1.Topic.name=" + awsMskIngestionTopicName.toString());
405400
assertThat(bout.toString()).contains(clusterArn);
@@ -447,8 +442,8 @@ public void testAdmin() throws Exception {
447442
tenantId,
448443
subscriptionId,
449444
gcpServiceAccount);
450-
assertThat(bout.toString()).contains(
451-
"google.pubsub.v1.Topic.name=" + azureEventHubsIngestionTopicName.toString());
445+
assertThat(bout.toString())
446+
.contains("google.pubsub.v1.Topic.name=" + azureEventHubsIngestionTopicName.toString());
452447
assertThat(bout.toString()).contains(resourceGroup);
453448
assertThat(bout.toString()).contains(namespace);
454449
assertThat(bout.toString()).contains(eventHub);

0 commit comments

Comments
 (0)