We are using the Dotnet Client for our production servers and its working well so thank you very much for the community effort.
We are busy working on generating projections in Python for data analytics. The best client to work from that I found is Photon-pump. This does not have the ability to read all events so I am busy implementing that at the moment.
I am able to call the message ReadAllEvents and then whatever I set at the “max_count” is returned. There are currently three confusing things:
- I am just a bit confused by the other required parameters in the ReadAllEvents message. What is the purpose of “commit_position” and “prepare_position”? Currently I just set them to 0 and request 100 events. Now I need to get the next 100 events because I am paging through the events (I assume this is best practice)
- How does one know when we have read through all the events? Will ReadAllEventsCompleted return an error or will the I have to look at the “next_commit_position”
- Once I have read all the events then how do I subscribe to all events so that any new commits will be added to my projection in python?
Hope someone can provide some insight into the workings of EventStore for me!
I am going to be pushing all my changes back into the community when it works