From a7f5c7d8610b574ab7f8750a48235bc081b17866 Mon Sep 17 00:00:00 2001 From: mskonovalov Date: Mon, 16 Sep 2024 16:00:54 +1000 Subject: [PATCH 1/3] chore: switch kinesis-consumer to a fork --- go.mod | 2 ++ go.sum | 2 ++ 2 files changed, 4 insertions(+) diff --git a/go.mod b/go.mod index 8db7492b9f1b3..c18f161557d68 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module github.com/influxdata/telegraf go 1.23.0 +replace github.com/harlow/kinesis-consumer => github.com/mskonovalov/kinesis-consumer v0.3.6 + require ( cloud.google.com/go/bigquery v1.62.0 cloud.google.com/go/monitoring v1.20.2 diff --git a/go.sum b/go.sum index 38166c7290ace..03a66a569d147 100644 --- a/go.sum +++ b/go.sum @@ -1912,6 +1912,8 @@ github.com/montanaflynn/stats v0.7.1 h1:etflOAAHORrCC44V+aR6Ftzort912ZU+YLiSTuV8 github.com/montanaflynn/stats v0.7.1/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= +github.com/mskonovalov/kinesis-consumer v0.3.6 h1:yzjAGRX9DCwI0TJuoA4meU7OXF9O9Jr6vm/24tcH7BY= +github.com/mskonovalov/kinesis-consumer v0.3.6/go.mod h1:jTE9kH7IVx841D0GgxjykKieSP1yDSckuEg5ceSCjEU= github.com/mtibben/percent v0.2.1 h1:5gssi8Nqo8QU/r2pynCm+hBQHpkB/uNK7BJCFogWdzs= github.com/mtibben/percent v0.2.1/go.mod h1:KG9uO+SZkUp+VkRHsCdYQV3XSZrrSpR3O9ibNBTZrns= github.com/muhlemmer/gu v0.3.1 h1:7EAqmFrW7n3hETvuAdmFmn4hS8W+z3LgKtrnow+YzNM= From 5263f0eec7aa3ee3777acb7bdeb3fd2e4bc9b0ea Mon Sep 17 00:00:00 2001 From: mskonovalov Date: Mon, 16 Sep 2024 16:46:03 +1000 Subject: [PATCH 2/3] chore: switch kinesis-consumer to a fork --- go.sum | 2 -- 1 file changed, 2 deletions(-) diff --git a/go.sum b/go.sum index 03a66a569d147..0642f3b26ea68 100644 --- a/go.sum +++ b/go.sum @@ -1490,8 +1490,6 @@ github.com/gwos/tcg/sdk v0.0.0-20231124052037-1e832b843240 h1:dQUb3aqhbE1Z/QximD github.com/gwos/tcg/sdk v0.0.0-20231124052037-1e832b843240/go.mod h1:H3CAtDtRLVPIkShWzarGiKYVZqrBtWNJMMRtfqJ3rXI= github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed h1:5upAirOpQc1Q53c0bnx2ufif5kANL7bfZWcc6VJWJd8= github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed/go.mod h1:tMWxXQ9wFIaZeTI9F+hmhFiGpFmhOHzyShyFUhRm0H4= -github.com/harlow/kinesis-consumer v0.3.6-0.20240606153816-553e2392fdf3 h1:Yrtto57ANki/B58Q1YeFfLEn9XN/uB9EDFjLLDUA//c= -github.com/harlow/kinesis-consumer v0.3.6-0.20240606153816-553e2392fdf3/go.mod h1:jTE9kH7IVx841D0GgxjykKieSP1yDSckuEg5ceSCjEU= github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= github.com/hashicorp/consul/api v1.29.2 h1:aYyRn8EdE2mSfG14S1+L9Qkjtz8RzmaWh6AcNGRNwPw= github.com/hashicorp/consul/api v1.29.2/go.mod h1:0YObcaLNDSbtlgzIRtmRXI1ZkeuK0trCBxwZQ4MYnIk= From 5d41c1ccc45ed21bac05f85168681b01b91f32f8 Mon Sep 17 00:00:00 2001 From: mskonovalov Date: Tue, 17 Sep 2024 16:32:26 +1000 Subject: [PATCH 3/3] chore: bump kinesis-consumer version --- go.mod | 4 +--- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index c18f161557d68..67051c3a28b9c 100644 --- a/go.mod +++ b/go.mod @@ -2,8 +2,6 @@ module github.com/influxdata/telegraf go 1.23.0 -replace github.com/harlow/kinesis-consumer => github.com/mskonovalov/kinesis-consumer v0.3.6 - require ( cloud.google.com/go/bigquery v1.62.0 cloud.google.com/go/monitoring v1.20.2 @@ -111,7 +109,7 @@ require ( github.com/gosnmp/gosnmp v1.37.0 github.com/grid-x/modbus v0.0.0-20240503115206-582f2ab60a18 github.com/gwos/tcg/sdk v0.0.0-20231124052037-1e832b843240 - github.com/harlow/kinesis-consumer v0.3.6-0.20240606153816-553e2392fdf3 + github.com/harlow/kinesis-consumer v0.3.6-0.20240916192723-43900507c911 github.com/hashicorp/consul/api v1.29.2 github.com/hashicorp/go-uuid v1.0.3 github.com/hashicorp/golang-lru/v2 v2.0.7 diff --git a/go.sum b/go.sum index 0642f3b26ea68..9c8e79be94bd0 100644 --- a/go.sum +++ b/go.sum @@ -1490,6 +1490,8 @@ github.com/gwos/tcg/sdk v0.0.0-20231124052037-1e832b843240 h1:dQUb3aqhbE1Z/QximD github.com/gwos/tcg/sdk v0.0.0-20231124052037-1e832b843240/go.mod h1:H3CAtDtRLVPIkShWzarGiKYVZqrBtWNJMMRtfqJ3rXI= github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed h1:5upAirOpQc1Q53c0bnx2ufif5kANL7bfZWcc6VJWJd8= github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed/go.mod h1:tMWxXQ9wFIaZeTI9F+hmhFiGpFmhOHzyShyFUhRm0H4= +github.com/harlow/kinesis-consumer v0.3.6-0.20240916192723-43900507c911 h1:eLNkr0OcBl7pzM6DCLSgVp3VQyS5ZrLnanXPqH5EmE0= +github.com/harlow/kinesis-consumer v0.3.6-0.20240916192723-43900507c911/go.mod h1:jTE9kH7IVx841D0GgxjykKieSP1yDSckuEg5ceSCjEU= github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= github.com/hashicorp/consul/api v1.29.2 h1:aYyRn8EdE2mSfG14S1+L9Qkjtz8RzmaWh6AcNGRNwPw= github.com/hashicorp/consul/api v1.29.2/go.mod h1:0YObcaLNDSbtlgzIRtmRXI1ZkeuK0trCBxwZQ4MYnIk= @@ -1910,8 +1912,6 @@ github.com/montanaflynn/stats v0.7.1 h1:etflOAAHORrCC44V+aR6Ftzort912ZU+YLiSTuV8 github.com/montanaflynn/stats v0.7.1/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= -github.com/mskonovalov/kinesis-consumer v0.3.6 h1:yzjAGRX9DCwI0TJuoA4meU7OXF9O9Jr6vm/24tcH7BY= -github.com/mskonovalov/kinesis-consumer v0.3.6/go.mod h1:jTE9kH7IVx841D0GgxjykKieSP1yDSckuEg5ceSCjEU= github.com/mtibben/percent v0.2.1 h1:5gssi8Nqo8QU/r2pynCm+hBQHpkB/uNK7BJCFogWdzs= github.com/mtibben/percent v0.2.1/go.mod h1:KG9uO+SZkUp+VkRHsCdYQV3XSZrrSpR3O9ibNBTZrns= github.com/muhlemmer/gu v0.3.1 h1:7EAqmFrW7n3hETvuAdmFmn4hS8W+z3LgKtrnow+YzNM=