Skip to content

Commit

Permalink
Merge pull request #1019 from redpanda-data/ts/add-topic-creation-to-…
Browse files Browse the repository at this point in the history
…mongodb-source

Add topic creation properties to MongodDB source connector guide
  • Loading branch information
tomasz-sadura authored Jan 22, 2024
2 parents 5db7f34 + d074099 commit 7820bc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/pkg/connector/guide/mongo_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ func NewMongoSourceGuide(opts ...Option) Guide {
"heartbeat.interval.ms",
"heartbeat.topic.name",
"offset.partition.name",
"topic.creation.enable",
"topic.creation.default.partitions",
"topic.creation.default.replication.factor",
},
},
},
Expand Down
1 change: 1 addition & 0 deletions backend/pkg/connector/interceptor/interceptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ func CommunityGuides(opts ...guide.Option) []guide.Guide {
guide.NewMongoSourceGuide(guide.WithConsoleToKafkaConnectHookFn(ConsoleToKafkaConnectMongoDBHook),
guide.WithKafkaConnectValidateToConsoleHookFn(KafkaConnectValidateToConsoleMongoDBHook),
guide.WithKafkaConnectValidateToConsoleHookFn(KafkaConnectToConsoleJSONSchemaHook),
guide.WithKafkaConnectValidateToConsoleHookFn(KafkaConnectToConsoleTopicCreationHook),
guide.WithKafkaConnectToConsoleHookFn(KafkaConnectToConsoleMongoDBHook)),
guide.NewMongoSinkGuide(guide.WithConsoleToKafkaConnectHookFn(ConsoleToKafkaConnectMongoDBHook),
guide.WithKafkaConnectValidateToConsoleHookFn(KafkaConnectValidateToConsoleMongoDBHook),
Expand Down

0 comments on commit 7820bc2

Please sign in to comment.