Skip to content

Add better debug logs for PubSub Pulsar component with Oauth #4083

@alicejgibbons

Description

@alicejgibbons

Describe the feature

Today there are no debug logs when the Pulsar Pubsub component creates or refreshes a token. The following should be added.

time="2025-10-29T14:39:00.676470087Z" level=debug msg="renewToken() - fetching new token from OAuth server..." app_id=publisher component="pulsar-pubsub (pubsub.pulsar/v1)" instance=publisher-7cb45f6d49-cwt5b scope=dapr.contrib type=log ver=1.16.4

time="2025-10-29T14:39:00.688544837Z" level=debug msg="Token renewed successfully, new expiry: 2025-10-29 14:39:59.688447462 +0000 UTC m=+180.738594889" app_id=publisher component="pulsar-pubsub (pubsub.pulsar/v1)" instance=publisher-7cb45f6d49-cwt5b scope=dapr.contrib type=log ver=1.16.4

Release Note

RELEASE NOTE:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions