mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
parent
c5b2a8441b
commit
90abea5b7a
@ -160,6 +160,9 @@ func (target *KafkaTarget) Save(eventData event.Event) error {
|
||||
|
||||
// send - sends an event to the kafka.
|
||||
func (target *KafkaTarget) send(eventData event.Event) error {
|
||||
if target.producer == nil {
|
||||
return errNotConnected
|
||||
}
|
||||
objectName, err := url.QueryUnescape(eventData.S3.Object.Key)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user