FastStream is a powerful and easy-to-use Python framework for building asynchronous services interacting with event streams such as Apache Kafka, RabbitMQ, NATS and Redis.
In the current version of FastStream, if I raise AckMessage (or any HandlerException) when processing a message, then the following line will be added to the error metric:
Description
In the current version of FastStream, if I
raise AckMessage
(or anyHandlerException
) when processing a message, then the following line will be added to the error metric:It shouldn't be like this, because
HandlerException
s are not user-defined exceptions and should not increase the error metric when they are thrownType of change
Checklist
scripts/lint.sh
shows no errors)scripts/test-cov.sh
scripts/static-analysis.sh