Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Confirm (3.86 sec)

  1. internal/event/target/amqp.go

    	if target.args.PublisherConfirms {
    		confirms := ch.NotifyPublish(make(chan amqp091.Confirmation, 1))
    		if err := ch.Confirm(false); err != nil {
    			ch.Close()
    			return nil, nil, err
    		}
    		return ch, confirms, nil
    	}
    
    	return ch, nil, nil
    }
    
    // send - sends an event to the AMQP091.
    func (target *AMQPTarget) send(eventData event.Event, ch *amqp091.Channel, confirms chan amqp091.Confirmation) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 10K bytes
    - Viewed (0)
  2. internal/dsync/dsync_test.go

    }
    
    func BenchmarkMutexNoSpin(b *testing.B) {
    	b.ResetTimer()
    	b.ReportAllocs()
    
    	// This benchmark models a situation where spinning in the mutex should be
    	// non-profitable and allows to confirm that spinning does not do harm.
    	// To achieve this we create excess of goroutines most of which do local work.
    	// These goroutines yield during local work, so that switching from
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  3. internal/event/target/elasticsearch.go

    	if target.client != nil {
    		return nil
    	}
    
    	clientV7, err := newClientV7(target.args)
    	if err != nil {
    		return err
    	}
    
    	// Check es version to confirm if it is supported.
    	serverSupportStatus, version, err := clientV7.getServerSupportStatus(ctx)
    	if err != nil {
    		return err
    	}
    
    	switch serverSupportStatus {
    	case ESSUnknown:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. internal/config/notify/help.go

    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         target.AmqpPublisherConfirms,
    			Description: "enable consumer acknowledgement and publisher confirms, use this along with queue_dir for guaranteed delivery of all events",
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         target.AmqpQueueDir,
    			Description: queueDirComment,
    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