Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to do exception handling in kafka output trigger if trigger fails to write to kafka #460

Open
alpeshdhanesha1984 opened this issue Oct 12, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@alpeshdhanesha1984
Copy link

Hello,

I'm using KafkaOutput Trigger with Azure In-Process function. Surprisingly, it's not throwing any exception if I provide invalid brokername also. Just wondering, how would I get acknowledgement form or at least throw an exception if something wrong during writing to kafka. I tried with both the ways AsyncCollection<kafkaEventData<,>> and output parameter of kafkaEventData but none of them is throwing any exception. Just fyi, I'm using timerTrigger to run the azure function.

@jainharsh98
Copy link
Collaborator

@alpeshdhanesha1984 Are no exceptions getting logged for the function executions or Are you looking for a way to fail the function execution and mechanism for subsequent retries?

@alpeshdhanesha1984
Copy link
Author

alpeshdhanesha1984 commented Oct 17, 2023 via email

@jainharsh98 jainharsh98 added enhancement New feature or request and removed investigate labels Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants