minio/internal/event
Praveen raj Mani 7c72b25ef0
Add an option to make bucket notifications synchronous (#17406)
With the current asynchronous behaviour in sending notification events
to the targets, we can't provide guaranteed delivery as the systems
might go for restarts.

For such event-driven use-cases, we can provide an option to enable
synchronous events where the APIs wait until the event is successfully
sent or persisted.

This commit adds 'MINIO_API_SYNC_EVENTS' env which when set to 'on'
will enable sending/persisting events to targets synchronously.
2023-06-20 17:38:59 -07:00
..
target fix: kafka broker pings must not be greater than 1sec (#17376) 2023-06-07 11:47:00 -07:00
arn.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
arn_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
config.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
config_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
errors.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
event.go Bump up madmin-go and pkg deps (#17469) 2023-06-19 17:53:08 -07:00
name.go Add detailed scanner trace output and notifications (#16668) 2023-02-21 09:33:33 -08:00
name_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
rules.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
rules_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
rulesmap.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
rulesmap_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
targetid.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
targetid_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
targetidset.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
targetidset_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
targetlist.go Add an option to make bucket notifications synchronous (#17406) 2023-06-20 17:38:59 -07:00
targetlist_test.go Add an option to make bucket notifications synchronous (#17406) 2023-06-20 17:38:59 -07:00