mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
Send kafka notification messages in batches when queue_dir is enabled (#18164)
Fixes #18124
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user