/plushcap/analysis/openmeter/testing-stream-processing

Testing Stream Processing with BenthosMimicking real-world data to test stream processing

What's this blog post about?

The text discusses the development of OpenMeter, an application designed to help engineers collect and process large volumes of usage events for accurate billing and product use cases. A significant challenge faced during this process was generating sample data at a scale that mimics real-world scenarios. To overcome this, Benthos, a robust stream processing tool, was discovered. Benthos is highlighted as a powerful tool in the event processing domain due to its ability to ingest data from various inputs, apply custom transformations using Bloblang (a data mapping language), and send it to multiple outputs. The text provides an example of how Benthos can be used to generate sample usage events and format them into CloudEvents before sending them to the OpenMeter API.

Company
OpenMeter

Date published
Oct. 10, 2023

Author(s)
Sági-Kazár Márk

Word count
339

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.