Please can someone tell me…
If I write an event to a stream that didn’t previously exist, e.g. “foo-1”…
does that immediately (not eventually) create the corresponding metadata stream, “$$foo-1”?..
thereby allowing me to write to the corresponding metadata immediately after writing the first event which creates the stream?
Scenarios:
-
When using the .NET API to a single ES Node?
-
When using the HTTP API to a single ES Node?
-
Presumably harder to answer when using a cluster?
My concerns:
Might the two events fired into the HTTP API arrive in the wrong order?
Do the tcp clients (e.g. .NET and Java APIs) deliver my requests in the order that I send them?
Does ES process the events in the order it receives them?