Send kafka notification messages in batches when queue_dir is enabled (#18164)

Fixes #18124
This commit is contained in:
Praveen raj Mani
2023-10-07 20:37:38 +05:30
committed by GitHub
parent 0de2b9a1b2
commit c27d0583d4
19 changed files with 438 additions and 90 deletions

View File

@@ -22,6 +22,8 @@ import (
"strings"
"sync"
"sync/atomic"
"github.com/minio/minio/internal/store"
)
const (
@@ -34,7 +36,7 @@ type Target interface {
ID() TargetID
IsActive() (bool, error)
Save(Event) error
SendFromStore(string) error
SendFromStore(store.Key) error
Close() error
Store() TargetStore
}