Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MaxPubAcksInflight (0.11 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)
Back to top