Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def wait_for_operation(self, operation: Operation, timeout: float | None = None)
error = operation.exception(timeout=timeout)
raise AirflowException(error)

def get_confluent_token(self):
def get_confluent_token(self, config_str: str):
"""Get the authentication token for confluent client."""
token_provider = ManagedKafkaTokenProvider(credentials=self.get_credentials())
token = token_provider.confluent_token()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,10 @@ def create_connection(connection_id: str):
location=LOCATION,
cluster_id=CLUSTER_ID,
consumer_group_id=CONSUMER_GROUP_ID,
consumer_group={},
update_mask={},
consumer_group={
"topics": {},
},
update_mask={"paths": ["topics"]},
)
# [END how_to_cloud_managed_kafka_update_consumer_group_operator]

Expand Down