Skip to content

Dockerfile for debugging code that uses Event Store TCP API by setting high heartbeat timeouts

Notifications You must be signed in to change notification settings

jlee1-made/resting-eventstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Debugging Event Store

This Dockerfile provides an Event Store configured to use heartbeat timeouts set to high values.

This is useful if you want to use a debugger to step through code that talks to Event Store using the Event Store TCP API -- such as code that uses photon-pump. Event Store's TCP API makes use of a 'heartbeat' to ensure that unused connections are not left open. This means that if you're sitting at a debugger prompt (e.g. at a pdb prompt) -- and therefore not running your event loop for tens of seconds at a time -- you'll find that you get disconnected from Event Store.

To build and run:

docker build -t resting-eventstore .
docker run -d resting-eventstore

About

Dockerfile for debugging code that uses Event Store TCP API by setting high heartbeat timeouts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published