update go mod
This commit is contained in:
@@ -9,7 +9,7 @@ package kafka
|
||||
|
||||
import (
|
||||
"crypto/tls"
|
||||
"github.com/Shopify/sarama"
|
||||
"github.com/IBM/sarama"
|
||||
"github.com/rcrowley/go-metrics"
|
||||
"golang.org/x/net/proxy"
|
||||
"net"
|
||||
@@ -49,9 +49,9 @@ type Config struct {
|
||||
// All three of the below configurations are similar to the
|
||||
// `socket.timeout.ms` setting in JVM kafka. All of them default
|
||||
// to 30 seconds.
|
||||
DialTimeout time.Duration `json:"dial_timeout" yaml:"dial_timeout"` // How long to wait for the initial connection.
|
||||
ReadTimeout time.Duration `json:"read_timeout" yaml:"read_timeout"`// How long to wait for a response.
|
||||
WriteTimeout time.Duration `json:"write_timeout" yaml:"write_timeout"`// How long to wait for a transmit.
|
||||
DialTimeout time.Duration `json:"dial_timeout" yaml:"dial_timeout"` // How long to wait for the initial connection.
|
||||
ReadTimeout time.Duration `json:"read_timeout" yaml:"read_timeout"` // How long to wait for a response.
|
||||
WriteTimeout time.Duration `json:"write_timeout" yaml:"write_timeout"` // How long to wait for a transmit.
|
||||
|
||||
TLS struct {
|
||||
// Whether or not to use TLS when connecting to the broker
|
||||
|
||||
Reference in New Issue
Block a user