mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Send kafka notification messages in batches when queue_dir is enabled (#18164)
Fixes #18124
This commit is contained in:
@@ -23,6 +23,8 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/minio/minio/internal/store"
|
||||
)
|
||||
|
||||
type ExampleTarget struct {
|
||||
@@ -61,7 +63,7 @@ func (target ExampleTarget) send(eventData Event) error {
|
||||
}
|
||||
|
||||
// SendFromStore - interface compatible method does no-op.
|
||||
func (target *ExampleTarget) SendFromStore(eventKey string) error {
|
||||
func (target *ExampleTarget) SendFromStore(_ store.Key) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user