Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into feature/mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
jessjenkins committed Dec 17, 2021
2 parents 06e28c3 + 5aa9806 commit 5b13532
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func Get() (*Config, error) {
GracefulShutdownTimeout: 5 * time.Second,
HealthCheckInterval: 30 * time.Second,
HealthCheckCriticalTimeout: 90 * time.Second,
KafkaAddr: []string{"localhost:9092"},
KafkaAddr: []string{"localhost:9092", "localhost:9093", "localhost:9094"},
KafkaVersion: "1.0.2",
KafkaSecProtocol: "",
KafkaSecCACerts: "",
Expand Down
3 changes: 1 addition & 2 deletions config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ func TestConfig(t *testing.T) {
So(cfg.GracefulShutdownTimeout, ShouldEqual, 5*time.Second)
So(cfg.HealthCheckInterval, ShouldEqual, 30*time.Second)
So(cfg.HealthCheckCriticalTimeout, ShouldEqual, 90*time.Second)
So(cfg.KafkaAddr, ShouldHaveLength, 1)
So(cfg.KafkaAddr[0], ShouldEqual, "localhost:9092")
So(cfg.KafkaAddr, ShouldResemble, []string{"localhost:9092", "localhost:9093", "localhost:9094"})
So(cfg.KafkaVersion, ShouldEqual, "1.0.2")
So(cfg.KafkaNumWorkers, ShouldEqual, 1)
So(cfg.KafkaSecProtocol, ShouldEqual, "")
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/ONSdigital/dp-api-clients-go/v2 v2.2.0
github.com/ONSdigital/dp-component-test v0.6.3
github.com/ONSdigital/dp-healthcheck v1.1.0
github.com/ONSdigital/dp-kafka/v2 v2.4.2
github.com/ONSdigital/dp-kafka/v2 v2.4.3
github.com/ONSdigital/dp-net v1.2.0
github.com/ONSdigital/log.go/v2 v2.0.9
github.com/cucumber/godog v0.11.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ github.com/ONSdigital/dp-component-test v0.6.3/go.mod h1:CfpOujIEqZS5qON7sWn0LRy
github.com/ONSdigital/dp-healthcheck v1.0.5/go.mod h1:2wbVAUHMl9+4tWhUlxYUuA1dnf2+NrwzC+So5f5BMLk=
github.com/ONSdigital/dp-healthcheck v1.1.0 h1:fKOf8MMe8l4EW28ljX0wNZ5oZTgx/slAs7lyEx4eq2c=
github.com/ONSdigital/dp-healthcheck v1.1.0/go.mod h1:vZwyjMJiCHjp/sJ2R1ZEqzZT0rJ0+uHVGwxqdP4J5vg=
github.com/ONSdigital/dp-kafka/v2 v2.4.2 h1:Wur0nzhqcyEsS+W02OukjxvdzJ3hYeIqy/ySdXk+44w=
github.com/ONSdigital/dp-kafka/v2 v2.4.2/go.mod h1:W7BZ0zUmIuOMne18Pe3I4V/nF41Ynwy0N5A4+s7ahaw=
github.com/ONSdigital/dp-kafka/v2 v2.4.3 h1:Sb5nc4M3RsDMDmclsTqyjTMP6IBD7dRkv3kaIM26LLs=
github.com/ONSdigital/dp-kafka/v2 v2.4.3/go.mod h1:W7BZ0zUmIuOMne18Pe3I4V/nF41Ynwy0N5A4+s7ahaw=
github.com/ONSdigital/dp-mocking v0.0.0-20190905163309-fee2702ad1b9 h1:+WXVfTDyWXY1DQRDFSmt1b/ORKk5c7jGiPu7NoeaM/0=
github.com/ONSdigital/dp-mocking v0.0.0-20190905163309-fee2702ad1b9/go.mod h1:BcIRgitUju//qgNePRBmNjATarTtynAgc0yV29VpLEk=
github.com/ONSdigital/dp-mongodb-in-memory v1.1.0 h1:EjUU1zpIU1LElhiTMAG7qxy7Rq9+VTUtt3/lyA+K7jI=
Expand Down

0 comments on commit 5b13532

Please sign in to comment.