Fix merge issues with api-key, conflicts with librarian changes (#309)

This commit is contained in:
cybermaggedon 2025-02-15 12:25:26 +00:00 committed by GitHub
parent 617eb7efd5
commit 5575e885e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 8 additions and 23 deletions

View file

@ -35,6 +35,8 @@ class BaseProcessor:
log_level = params.get("log_level", LogLevel.INFO)
self.pulsar_host = pulsar_host
self.pulsar_api_key = pulsar_api_key
if pulsar_api_key:
auth = pulsar.AuthenticationToken(pulsar_api_key)
self.client = pulsar.Client(