Skip to content

Commit aa6556f

Browse files
committed
all: frang => franz-go; updates deps
1 parent 4514871 commit aa6556f

26 files changed

+234
-80
lines changed

CHANGELOG.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ TBD
33

44
- [`2a2d65e35`](https://github.com/twmb/kcl/commit/2a2d65e352ea58c8472564e1666a9460d88715d2): (breaking) sasl: switch from plaintext to plain
55

6+
Also bumps the kafka-go dep (which was renamed to frang, then again and finally to franz-go), which pulls in bug fixes and improvements.
7+
68
v0.2.1
79
======
810

@@ -21,7 +23,7 @@ v0.2.0
2123
- [`05451336d`](https://github.com/twmb/kcl/commit/05451336d982b4e537cf8d70c340d1fdebd2f799): add misc errtext command
2224
- [`f72facd71`](https://github.com/twmb/kcl/commit/f72facd715de0e9919a3234b7ca9f074a9791e59): fix output on unrecognized prefix
2325

24-
Minor other changes (formatting, documentation, frang bumps).
26+
Minor other changes (formatting, documentation, kafka-go bumps).
2527

2628
This is a "major" bump while on the 0 version due to all admin related commands moving under admin.
2729

@@ -37,4 +39,4 @@ v0.1.1
3739
- [`5b877591d`](https://github.com/twmb/kcl/commit/5b877591df12a16f7506739c94476061616f68ab): add `KCL_CONFIG_{DIR,FILE,PATH}`
3840
- [`4c5af690b`](https://github.com/twmb/kcl/commit/4c5af690ba8ebf164eec10e3319000eeea4d4e71): add ascii number parsing for reading messages
3941

40-
Minor other changes (formatting, documentation, frang bumps).
42+
Minor other changes (formatting, documentation, kafka-go bumps).

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ I consider the current API **relatively** stable. Once this hits a 1.x release,
3131
the API will be even more stable. I would like to get some definitive
3232
broader usage of the client before deeming things unchanging.
3333

34-
I've spent a good amount of time integration testing my [frang][2] client
34+
I've spent a good amount of time integration testing my [franz-go][2] client
3535
that this program uses. The main thing I have currently been unable to test is
3636
closest replica fetching, which is only theoretically supported. It is worth it
37-
to read the stability status in the frang repo as well if using this client.
37+
to read the stability status in the franz-go repo as well if using this client.
3838

39-
[2]: https://github.com/twmb/frang/
39+
[2]: https://github.com/twmb/franz-go/
4040

4141
I would love confirmation that this program has been used more broadly, and
4242
would love to start a "Users" section below. With this confirmation, I will

client/client.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ import (
2121
"github.com/BurntSushi/toml"
2222
"github.com/spf13/cobra"
2323

24-
"github.com/twmb/frang/pkg/kgo"
25-
"github.com/twmb/frang/pkg/kmsg"
26-
"github.com/twmb/frang/pkg/kversion"
27-
"github.com/twmb/frang/pkg/sasl/plain"
28-
"github.com/twmb/frang/pkg/sasl/scram"
24+
"github.com/twmb/franz-go/pkg/kgo"
25+
"github.com/twmb/franz-go/pkg/kmsg"
26+
"github.com/twmb/franz-go/pkg/kversion"
27+
"github.com/twmb/franz-go/pkg/sasl/plain"
28+
"github.com/twmb/franz-go/pkg/sasl/scram"
2929

3030
"github.com/twmb/kcl/out"
3131
)

commands/admin/acl/acl.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88

99
"github.com/spf13/cobra"
1010

11-
"github.com/twmb/frang/pkg/kerr"
12-
"github.com/twmb/frang/pkg/kmsg"
11+
"github.com/twmb/franz-go/pkg/kerr"
12+
"github.com/twmb/franz-go/pkg/kmsg"
1313

1414
"github.com/twmb/kcl/client"
1515
"github.com/twmb/kcl/out"

commands/admin/admin.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212

1313
"github.com/spf13/cobra"
1414

15-
"github.com/twmb/frang/pkg/kerr"
16-
"github.com/twmb/frang/pkg/kmsg"
15+
"github.com/twmb/franz-go/pkg/kerr"
16+
"github.com/twmb/franz-go/pkg/kmsg"
1717

1818
"github.com/twmb/kcl/client"
1919
"github.com/twmb/kcl/commands/admin/acl"

commands/admin/clientquotas/client_quotas.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"strings"
88

99
"github.com/spf13/cobra"
10-
"github.com/twmb/frang/pkg/kerr"
11-
"github.com/twmb/frang/pkg/kmsg"
10+
"github.com/twmb/franz-go/pkg/kerr"
11+
"github.com/twmb/franz-go/pkg/kmsg"
1212
"github.com/twmb/kcl/client"
1313
"github.com/twmb/kcl/out"
1414
)

commands/admin/configs/configs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
"github.com/spf13/cobra"
1212

13-
"github.com/twmb/frang/pkg/kmsg"
13+
"github.com/twmb/franz-go/pkg/kmsg"
1414

1515
"github.com/twmb/kcl/client"
1616
"github.com/twmb/kcl/out"

commands/admin/dtoken/dtoken.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010

1111
"github.com/spf13/cobra"
1212

13-
"github.com/twmb/frang/pkg/kerr"
14-
"github.com/twmb/frang/pkg/kmsg"
13+
"github.com/twmb/franz-go/pkg/kerr"
14+
"github.com/twmb/franz-go/pkg/kmsg"
1515

1616
"github.com/twmb/kcl/client"
1717
"github.com/twmb/kcl/out"

commands/admin/group/describe.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77

88
"github.com/spf13/cobra"
99

10-
"github.com/twmb/frang/pkg/kerr"
11-
"github.com/twmb/frang/pkg/kmsg"
10+
"github.com/twmb/franz-go/pkg/kerr"
11+
"github.com/twmb/franz-go/pkg/kmsg"
1212

1313
"github.com/twmb/kcl/client"
1414
"github.com/twmb/kcl/out"

commands/admin/group/group.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77

88
"github.com/spf13/cobra"
99

10-
"github.com/twmb/frang/pkg/kerr"
11-
"github.com/twmb/frang/pkg/kmsg"
10+
"github.com/twmb/franz-go/pkg/kerr"
11+
"github.com/twmb/franz-go/pkg/kmsg"
1212

1313
"github.com/twmb/kcl/client"
1414
"github.com/twmb/kcl/flagutil"

commands/admin/logdirs/logdirs.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"strings"
88

99
"github.com/spf13/cobra"
10-
"github.com/twmb/frang/pkg/kerr"
11-
"github.com/twmb/frang/pkg/kmsg"
10+
"github.com/twmb/franz-go/pkg/kerr"
11+
"github.com/twmb/franz-go/pkg/kmsg"
1212

1313
"github.com/twmb/kcl/client"
1414
"github.com/twmb/kcl/flagutil"

commands/admin/partas/partition_assignments.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"sort"
77

88
"github.com/spf13/cobra"
9-
"github.com/twmb/frang/pkg/kerr"
10-
"github.com/twmb/frang/pkg/kmsg"
9+
"github.com/twmb/franz-go/pkg/kerr"
10+
"github.com/twmb/franz-go/pkg/kmsg"
1111
"github.com/twmb/kcl/client"
1212
"github.com/twmb/kcl/flagutil"
1313
"github.com/twmb/kcl/out"

commands/admin/topic/topic.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111

1212
"github.com/spf13/cobra"
1313

14-
"github.com/twmb/frang/pkg/kerr"
15-
"github.com/twmb/frang/pkg/kmsg"
14+
"github.com/twmb/franz-go/pkg/kerr"
15+
"github.com/twmb/franz-go/pkg/kmsg"
1616

1717
"github.com/twmb/kcl/client"
1818
"github.com/twmb/kcl/kv"

commands/admin/userscram/user_scram.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"strings"
1313

1414
"github.com/spf13/cobra"
15-
"github.com/twmb/frang/pkg/kerr"
16-
"github.com/twmb/frang/pkg/kmsg"
15+
"github.com/twmb/franz-go/pkg/kerr"
16+
"github.com/twmb/franz-go/pkg/kmsg"
1717
"github.com/twmb/kcl/client"
1818
"github.com/twmb/kcl/out"
1919
"golang.org/x/crypto/pbkdf2"

commands/consume/consume.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import (
1414

1515
"github.com/spf13/cobra"
1616

17-
"github.com/twmb/frang/pkg/kgo"
18-
"github.com/twmb/frang/pkg/kmsg"
17+
"github.com/twmb/franz-go/pkg/kgo"
18+
"github.com/twmb/franz-go/pkg/kmsg"
1919

2020
"github.com/twmb/kcl/client"
2121
"github.com/twmb/kcl/format"

commands/consume/consumer_offsets.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
"strconv"
1010
"strings"
1111

12-
"github.com/twmb/frang/pkg/kbin"
13-
"github.com/twmb/frang/pkg/kgo"
14-
"github.com/twmb/frang/pkg/kmsg"
12+
"github.com/twmb/franz-go/pkg/kbin"
13+
"github.com/twmb/franz-go/pkg/kgo"
14+
"github.com/twmb/franz-go/pkg/kmsg"
1515

1616
"github.com/twmb/kcl/out"
1717
)

commands/consume/transaction_state.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"sort"
88
"strings"
99

10-
"github.com/twmb/frang/pkg/kgo"
11-
"github.com/twmb/frang/pkg/kmsg"
10+
"github.com/twmb/franz-go/pkg/kgo"
11+
"github.com/twmb/franz-go/pkg/kmsg"
1212
"github.com/twmb/kcl/out"
1313
)
1414

commands/metadata/metadata.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"sort"
1010

1111
"github.com/spf13/cobra"
12-
"github.com/twmb/frang/pkg/kerr"
13-
"github.com/twmb/frang/pkg/kmsg"
12+
"github.com/twmb/franz-go/pkg/kerr"
13+
"github.com/twmb/franz-go/pkg/kmsg"
1414
"github.com/twmb/kcl/client"
1515
"github.com/twmb/kcl/out"
1616
)

commands/misc/misc.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ import (
1313

1414
"github.com/spf13/cobra"
1515

16-
"github.com/twmb/frang/pkg/kerr"
17-
"github.com/twmb/frang/pkg/kgo"
18-
"github.com/twmb/frang/pkg/kmsg"
19-
"github.com/twmb/frang/pkg/kversion"
16+
"github.com/twmb/franz-go/pkg/kerr"
17+
"github.com/twmb/franz-go/pkg/kgo"
18+
"github.com/twmb/franz-go/pkg/kmsg"
19+
"github.com/twmb/franz-go/pkg/kversion"
2020

2121
"github.com/twmb/kcl/client"
2222
"github.com/twmb/kcl/flagutil"

commands/produce/produce.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
"github.com/spf13/cobra"
1111

12-
"github.com/twmb/frang/pkg/kgo"
12+
"github.com/twmb/franz-go/pkg/kgo"
1313
"github.com/twmb/kcl/client"
1414
"github.com/twmb/kcl/format"
1515
"github.com/twmb/kcl/out"

commands/transact/transact.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
"github.com/spf13/cobra"
1717

18-
"github.com/twmb/frang/pkg/kgo"
18+
"github.com/twmb/franz-go/pkg/kgo"
1919
"github.com/twmb/kcl/client"
2020
"github.com/twmb/kcl/format"
2121
"github.com/twmb/kcl/out"

format/parse_in.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"strings"
1212
"unicode/utf8"
1313

14-
"github.com/twmb/frang/pkg/kgo"
14+
"github.com/twmb/franz-go/pkg/kgo"
1515
)
1616

1717
type Reader struct {

format/parse_out.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"sync/atomic"
1212
"unicode/utf8"
1313

14-
"github.com/twmb/frang/pkg/kgo"
14+
"github.com/twmb/franz-go/pkg/kgo"
1515
"github.com/twmb/go-strftime"
1616
)
1717

go.mod

+3-5
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ go 1.13
44

55
require (
66
github.com/BurntSushi/toml v0.3.1
7-
github.com/klauspost/compress v1.11.0 // indirect
8-
github.com/spf13/cobra v1.0.0
9-
github.com/spf13/pflag v1.0.5 // indirect
10-
github.com/twmb/frang v0.5.0
7+
github.com/spf13/cobra v1.1.0
8+
github.com/twmb/franz-go v0.6.0
119
github.com/twmb/go-strftime v0.0.0-20190915101236-e74f7c4fe4fa
12-
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a
10+
golang.org/x/crypto v0.0.0-20201012173705-84dcc777aaee
1311
)

0 commit comments

Comments
 (0)