Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for MaxPubAcksInflight (0.1 sec)

  1. internal/event/target/nats.go

    	if err != nil {
    		return nil, err
    	}
    	clientID := u.String()
    
    	connOpts := []stan.Option{stan.NatsURL(addressURL)}
    	if n.Streaming.MaxPubAcksInflight > 0 {
    		connOpts = append(connOpts, stan.MaxPubAcksInflight(n.Streaming.MaxPubAcksInflight))
    	}
    	if n.UserCredentials != "" {
    		connOpts = append(connOpts, stan.NatsOptions(nats.UserCredentials(n.UserCredentials)))
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. internal/config/notify/parse.go

    			natsArgs.Streaming.Async = env.Get(asyncEnv, kv.Get(target.NATSStreamingAsync)) == config.EnableOn
    			natsArgs.Streaming.MaxPubAcksInflight = maxPubAcksInflight
    		}
    
    		if err = natsArgs.Validate(); err != nil {
    			return nil, err
    		}
    
    		natsTargets[k] = natsArgs
    	}
    	return natsTargets, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  3. internal/config/notify/legacy.go

    		config.KV{
    			Key:   target.NATSStreamingAsync,
    			Value: config.FormatBool(cfg.Streaming.Async),
    		},
    		config.KV{
    			Key:   target.NATSStreamingMaxPubAcksInFlight,
    			Value: strconv.Itoa(cfg.Streaming.MaxPubAcksInflight),
    		},
    	}
    
    	return nil
    }
    
    // SetNotifyMySQL - helper for config migration from older config.
    func SetNotifyMySQL(s config.Config, sqlName string, cfg target.MySQLArgs) error {
    	if !cfg.Enable {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 04:37:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. docs/bucket/notifications/README.md

    Read more about sections `cluster_id`, `client_id` on [NATS documentation](https://github.com/nats-io/nats-streaming-server/blob/master/README.md). Section `maxPubAcksInflight` is explained [here](https://github.com/nats-io/stan.go#publisher-rate-limiting).
    
    ### Step 2: Enable NATS bucket notification using MinIO client
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
Back to top