Running Amazon EventBridge locally

Viewed 4181

I am currently developing a system to be deployed on AWS. A collection of services that communicate using events delivered through Amazon EventBridge. I'm struggling to find a way to run my system locally because I don't know how I can either

  1. Run a local version of EventBridge (docker or something)
  2. Get the EventBridge instance on AWS to send events to my local machine (I'm assuming this is impossible?).

Is there a way I can run my services locally, have a service send an event to a real (or mocked) EventBridge instance and have those events routed to my local services?

Not that its too important, but my services are .NET Core applications running on Windows.

2 Answers

LocalStack can run on your local machine and has support for the EventBridge API.

There is mostly never a need to duplicate AWS infrastructure on your local machine. I'm guessing you need that event for development, to trigger lambda locally. I'd suggest invoking your lambda with aN EventBridge JSON

Related