Skip to content

Commit

Permalink
Added comments to LVK config files
Browse files Browse the repository at this point in the history
  • Loading branch information
hernandezc1 committed Apr 10, 2024
1 parent c2df1dc commit 0f879a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions broker/consumer/lvk/admin.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# see https://gcn.nasa.gov/docs/client#java
# Authentication information.
# This file is part of a workflow that creates an authenticated connection to the Kafka broker.
# For config options, see https://gcn.nasa.gov/docs/client#java

# OAuth 2.0 configuration
security.protocol=SASL_SSL
sasl.mechanism=OAUTHBEARER
sasl.login.callback.handler.class=org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginCallbackHandler
Expand Down
7 changes: 5 additions & 2 deletions broker/consumer/lvk/ps-connector.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Copyright 2022 Google LLC
# Adapted from:
# https://github.com/googleapis/java-pubsub-group-kafka-connector/blob/main/config/cps-sink-connector.properties

# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -17,7 +20,7 @@ name=CPSSinkConnector
# Tha Java class for the Pub/Sub sink connector.
connector.class=com.google.pubsub.kafka.sink.CloudPubSubSinkConnector
# The maximum number of tasks that should be created for this connector.
tasks.max=1
tasks.max=10
# Set the key converter for the Pub/Sub sink connector.
key.converter=org.apache.kafka.connect.storage.StringConverter
# Set the value converter for the Pub/Sub sink connector.
Expand Down

0 comments on commit 0f879a6

Please sign in to comment.