Skip to content

Commit

Permalink
Remove kakfa package and tests (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelsey authored Jan 3, 2022
1 parent 8b728d0 commit 6f5ed10
Show file tree
Hide file tree
Showing 22 changed files with 0 additions and 1,835 deletions.
83 changes: 0 additions & 83 deletions Dockercompose.test.yml

This file was deleted.

4 changes: 0 additions & 4 deletions Dockerfile.setup

This file was deleted.

12 changes: 0 additions & 12 deletions Dockerfile.test

This file was deleted.

10 changes: 0 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,3 @@ deps:

test:
go test -race $(gotags) ./...

integration-test:
docker-compose -f Dockercompose.test.yml up --build --abort-on-container-exit --always-recreate-deps
docker-compose -f Dockercompose.test.yml down --volumes

clean:
docker-compose -f Dockercompose.test.yml rm -f

kafkacat:
docker run -it --network=host confluentinc/cp-kafkacat kafkacat -b localhost:19092 -C -t gotest -J
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,3 @@ This is a core library that will add common features for our services.
> The ones that have their own right now will be migrated as needed
Mostly this deals with configuring logging, messaging (rabbit && nats), and loading configuration.

## Testing
### Prerequisites

If running on Apple silicon, the `librdkafka` library will need to be linked dynamically. We may want to keep an eye on [issues](https://github.com/confluentinc/confluent-kafka-go/issues/696) in the `confluent-kakfa-go` repository for alternative approaches that we could use in the future.

```
brew install openssl
brew install librdkafka
brew install pkg-config
```

And add `PKG_CONFIG_PATH` to your `~/.bashrc` or `~/.zshrc` (as instructed by `brew info openssl`)
```
export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3/lib/pkgconfig"
```
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ require (
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect
github.com/bugsnag/bugsnag-go v1.5.3
github.com/bugsnag/panicwrap v1.2.0 // indirect
github.com/confluentinc/confluent-kafka-go v1.4.2
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/go-chi/chi v4.0.2+incompatible
github.com/go-sql-driver/mysql v1.5.0 // indirect
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMn
github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag=
github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/confluentinc/confluent-kafka-go v1.4.2 h1:13EK9RTujF7lVkvHQ5Hbu6bM+Yfrq8L0MkJNnjHSd4Q=
github.com/confluentinc/confluent-kafka-go v1.4.2/go.mod h1:u2zNLny2xq+5rWeTQjFHbDzzNuba4P1vo31r9r4uAdg=
github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
Expand Down
13 changes: 0 additions & 13 deletions kafka/README.md

This file was deleted.

209 changes: 0 additions & 209 deletions kafka/config.go

This file was deleted.

Loading

0 comments on commit 6f5ed10

Please sign in to comment.