dapr-sandbox / components-java-sdk

Dapr SDK to compose pluggable components in Java.
Apache License 2.0
2 stars 2 forks source link

How to unsubscribe topic in sdk? #13

Open Bryce-huang opened 1 year ago

Bryce-huang commented 1 year ago

After subscribe be deleted by dapr,the pubsub component how to unsubscribe topic using sdk?

tmacam commented 1 year ago

Hey @Bryce-huang. Sorry, for just noticing this now. Is this a question about writing pub-sub pluggable components or about the Dapr API for PubSub components? If this is about the general Dapr API I would suggesting asking this in Discord instead.

Out of curiosity, what are you trying to do?

Bryce-huang commented 1 year ago

I am trying code the pub-sub pluggable components with JAVA,when the Subscription be deleted in k8s,shuold I stop the subscription in pluggable component?So I'm wondering if there is a lifecycle management for subscriptions?