Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Publish (0.17 sec)

  1. docs/config/README.md

    ```
    notify_webhook        publish bucket notifications to webhook endpoints
    notify_amqp           publish bucket notifications to AMQP endpoints
    notify_kafka          publish bucket notifications to Kafka endpoints
    notify_mqtt           publish bucket notifications to MQTT endpoints
    notify_nats           publish bucket notifications to NATS endpoints
    notify_nsq            publish bucket notifications to NSQ endpoints
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  2. internal/event/target/nats.go

    			_, err = target.stanConn.PublishAsync(target.args.Subject, data, nil)
    		} else {
    			err = target.stanConn.Publish(target.args.Subject, data)
    		}
    	} else {
    		if target.jstream != nil {
    			_, err = target.jstream.Publish(target.args.Subject, data)
    		} else {
    			err = target.natsConn.Publish(target.args.Subject, data)
    		}
    	}
    	return err
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  3. cmd/config-current.go

    			Description:     "publish bucket notifications to webhook endpoints",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.NotifyAMQPSubSys,
    			Description:     "publish bucket notifications to AMQP endpoints",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.NotifyKafkaSubSys,
    			Description:     "publish bucket notifications to Kafka endpoints",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  4. cmd/metrics-resource.go

    	var wg sync.WaitGroup
    	publish := func(in <-chan MetricV2) {
    		defer wg.Done()
    		for metric := range in {
    			labels, values := getOrderedLabelValueArrays(metric.VariableLabels)
    			collectMetric(metric, labels, values, "resource", out)
    		}
    	}
    
    	// Call peer api to fetch metrics
    	wg.Add(2)
    	go publish(ReportMetrics(GlobalContext, c.metricsGroups))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-rebalance.go

    	startTime := time.Now()
    	return func(err error) {
    		duration := time.Since(startTime)
    		if globalTrace.NumSubscribers(madmin.TraceRebalance) > 0 {
    			globalTrace.Publish(rebalanceTrace(r, poolIdx, startTime, duration, err, strings.Join(paths, " ")))
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  6. cmd/xl-storage-disk-id-check.go

    				errStr = err.Error()
    			}
    			custom["total-errs-timeout"] = strconv.FormatUint(p.totalErrsTimeout.Load(), 10)
    			custom["total-errs-availability"] = strconv.FormatUint(p.totalErrsAvailability.Load(), 10)
    			globalTrace.Publish(storageTrace(s, startTime, duration, strings.Join(paths, " "), errStr, custom))
    		}
    	}
    }
    
    const (
    	diskHealthOK int32 = iota
    	diskHealthFaulty
    )
    
    type diskHealthTracker struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. internal/event/target/amqp.go

    	if err = ch.ExchangeDeclare(target.args.Exchange, target.args.ExchangeType, target.args.Durable,
    		target.args.AutoDeleted, target.args.Internal, target.args.NoWait, nil); err != nil {
    		return err
    	}
    
    	if err = ch.Publish(target.args.Exchange, target.args.RoutingKey, target.args.Mandatory,
    		target.args.Immediate, amqp091.Publishing{
    			Headers:      headers,
    			ContentType:  "application/json",
    			DeliveryMode: target.args.DeliveryMode,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 10K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle.go

    func (sys *LifecycleSys) trace(oi ObjectInfo) func(event string) {
    	startTime := time.Now()
    	return func(event string) {
    		duration := time.Since(startTime)
    		if globalTrace.NumSubscribers(madmin.TraceILM) > 0 {
    			globalTrace.Publish(ilmTrace(startTime, duration, oi, event))
    		}
    	}
    }
    
    type expiryTask struct {
    	objInfo ObjectInfo
    	event   lifecycle.Event
    	src     lcEventSrc
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom.go

    	startTime := time.Now()
    	return func(err error) {
    		duration := time.Since(startTime)
    		if globalTrace.NumSubscribers(madmin.TraceDecommission) > 0 {
    			globalTrace.Publish(decomTrace(d, poolIdx, startTime, duration, strings.Join(paths, " "), err))
    		}
    	}
    }
    
    func (z *erasureServerPools) decommissionInBackground(ctx context.Context, idx int) error {
    	pool := z.serverPools[idx]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  10. internal/config/notify/help.go

    		config.HelpKV{
    			Key:         target.NATSStreamingAsync,
    			Description: "[DEPRECATED] set to 'on', to enable asynchronous publish",
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         target.NATSStreamingMaxPubAcksInFlight,
    			Description: "[DEPRECATED] number of messages to publish without waiting for ACKs",
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 18.8K bytes
    - Viewed (0)
Back to top