Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for MaxPubAcksInflight (0.25 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)))
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  2. 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 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  3. 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
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 46.4K 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
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
Back to top