Skip to content
Permalink
Browse files
Added Google Pubsub sink connector example
  • Loading branch information
oscerd committed Mar 2, 2021
1 parent 17f83bc commit a6963cc914fb988c6e8330f2e9a0e8383f694e6e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
@@ -0,0 +1,28 @@
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

name=CamelGoogle-pubsubSinkConnector
connector.class=org.apache.camel.kafkaconnector.googlepubsub.CamelGooglepubsubSinkConnector
tasks.max=1
key.converter=org.apache.kafka.connect.storage.StringConverter
value.converter=org.apache.kafka.connect.storage.StringConverter

topics=pubsub-topic

camel.sink.path.destinationName=test
camel.sink.path.projectId=testpubsub-306306
camel.sink.endpoint.synchronousPull=true
@@ -21,7 +21,7 @@ tasks.max=1
key.converter=org.apache.kafka.connect.storage.StringConverter
value.converter=org.apache.kafka.connect.converters.ByteArrayConverter

topics=mytopic
topics=mytopic-source

camel.source.path.destinationName=test-sub
camel.source.path.projectId=testpubsub-306306

0 comments on commit a6963cc

Please sign in to comment.