Skip to content

Commit

Permalink
samples: fix a paste-o in Kinesis sample
Browse files Browse the repository at this point in the history
  • Loading branch information
feywind committed Oct 10, 2024
1 parent 98f791a commit 1e3eb3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions samples/createTopicWithKinesisIngestion.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ async function createTopicWithKinesisIngestion(
streamArn,
consumerArn
) {
// Creates a new topic with a schema. Note that you might also
// pass Encodings.Json or Encodings.Binary here.
// Creates a new topic with Kinesis ingestion.
await pubSubClient.createTopic({
name: topicNameOrId,
ingestionDataSourceSettings: {
Expand Down
3 changes: 1 addition & 2 deletions samples/typescript/createTopicWithKinesisIngestion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ async function createTopicWithKinesisIngestion(
streamArn: string,
consumerArn: string
) {
// Creates a new topic with a schema. Note that you might also
// pass Encodings.Json or Encodings.Binary here.
// Creates a new topic with Kinesis ingestion.
await pubSubClient.createTopic({
name: topicNameOrId,
ingestionDataSourceSettings: {
Expand Down

0 comments on commit 1e3eb3d

Please sign in to comment.