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

Create a sample on how to send audit messages using a different transport #6906

Open
SzymonPobiega opened this issue Nov 19, 2024 · 0 comments
Labels
Cloud Cloud related issue Small Task Item that is put on the Small Tasks board

Comments

@SzymonPobiega
Copy link
Member

Some transports used in Azure, i.e. Azure Service Bus (premium) and SQL Server, incur very significant per-message costs. Enabling the audit feature effectively doubles the number of messages that need to be pushed by the system. That makes out Platform non cost-effective.

To mitigate that problem, audit messages can be sent to ServiceControl audit instance using a lower cost channel, e.g. Azure Storage Queues.

Task

The task is to build a sample that contains pipeline behaviors and sending components required to send audit messages via Azure Storage Queues.

Limitations

Azure Storage Queues imposes limit on message size. In the interest of time, the sample can make it explicit (via a warning) or, if time permits, contain logic that only offloads messages that fit in the size limit.

@SzymonPobiega SzymonPobiega added Small Task Item that is put on the Small Tasks board Cloud Cloud related issue labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cloud Cloud related issue Small Task Item that is put on the Small Tasks board
Projects
None yet
Development

No branches or pull requests

1 participant