mirror of
https://github.com/zitadel/zitadel
synced 2024-11-22 08:49:13 +00:00
3aba942162
# Which Problems Are Solved Add a debug API which allows pushing a set of events to be reduced in a dedicated projection. The events can carry a sleep duration which simulates a slow query during projection handling. # How the Problems Are Solved - `CreateDebugEvents` allows pushing multiple events which simulate the lifecycle of a resource. Each event has a `projectionSleep` field, which issues a `pg_sleep()` statement query in the projection handler : - Add - Change - Remove - `ListDebugEventsStates` list the current state of the projection, optionally with a Trigger - `GetDebugEventsStateByID` get the current state of the aggregate ID in the projection, optionally with a Trigger # Additional Changes - none # Additional Context - Allows reproduction of https://github.com/zitadel/zitadel/issues/8517 |
||
---|---|---|
.. | ||
handler | ||
repository | ||
v1/models | ||
v3 | ||
aggregate.go | ||
asset.go | ||
bench_payload.txt | ||
config.go | ||
event_base.go | ||
event.go | ||
eventstore_bench_test.go | ||
eventstore_pusher_test.go | ||
eventstore_querier_test.go | ||
eventstore_test.go | ||
eventstore.go | ||
example_test.go | ||
field.go | ||
local_crdb_test.go | ||
read_model.go | ||
search_query_test.go | ||
search_query.go | ||
subscription.go | ||
unique_constraint.go | ||
version_test.go | ||
version.go | ||
write_model.go |