-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for several event types in the same topic #71
Merged
Merged
Changes from 62 commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
dec045b
Chore(Support multiply types in a single topics): Changing producer t…
02682d0
Chore(Support multiply types in a single topics): Reading and produci…
7597194
Chore(Support multiply types in a single topics): Fixing the base tests.
2f65ca4
refactoring(Support multiply types in a single topics):
8db6159
refactoring(Support multiply types in a single topics):
2e4fd93
chor(Support multiply types in a single topics): Enable circleCi
7204e4c
chor(Support multiply types in a single topics): Enable circleCi
a18d644
chor(Support multiply types in a single topics): Enable circleCi
70992bc
chor(Support multiply types in a single topics): Enable circleCi
de4a90a
chore(Setting up circleCi)
e58d81b
chore(Setting up circleCi)
3102dc6
chore(Setting up circleCi)
920b5d5
chore(Setting up circleCi)
fe779dc
Enable docker
807455f
Enable docker
3d4a4fa
configuration(Setting up tests)
a6b110c
configuration(Setting up tests)
af33bd5
configuration(downgrading npm version used by circleCi)
e578795
configuration(downgrading npm and node versions used by circleCi)
25a197b
configuration(downgrading npm and node versions used by circleCi)
51930e5
configuration(downgrading npm and node versions used by circleCi)
26680e0
configuration(downgrading npm and node versions used by circleCi)
3b41466
configuration(Setting up tests)
aa86743
configuration(Setting up tests)
ab2c06d
configuration(Setting up tests)
4ac4bc5
configuration(merging build and test workflows into one in cricleCi)
22a8f5f
configuration(setting up kafka hostnames in cricleCi)
b75c9e0
configuration(setting up kafka hostnames in cricleCi)
2fd0801
configuration(cricleCi)
d72e243
configuration(troubleshooting circleCi network problems when connecti…
8a7bb14
configuration(troubleshooting circleCi network problems when connecti…
36fc50a
configuration(troubleshooting circleCi network problems when connecti…
d98ef6c
configuration(troubleshooting circleCi network problems when connecti…
25f7a6c
configuration(troubleshooting circleCi network problems when connecti…
bc50656
configuration(troubleshooting circleCi network problems when connecti…
7812765
configuration(troubleshooting circleCi network problems when connecti…
8080b19
configuration(troubleshooting circleCi network problems)
818ba53
configuration(troubleshooting circleCi network problems)
b59f587
configuration(troubleshooting circleCi network problems)
a7bfd60
configuration(troubleshooting)
c44fa92
configuration(troubleshooting)
6c88861
configuration(troubleshooting)
040200c
configuration(troubleshooting)
d105e2f
configuration(troubleshooting)
7b6e887
configuration(tweaking circleCi build)
788137a
configuration(simplifying circleCi build)
05d714f
fix(incorrect implementation of io.confluent.kafka.serializers.subjec…
a97eccf
documentation(fixing icon to circleci test status)
b315e16
tests(should produce and consume a multi type message using consume "…
a1d6066
documentation()
adb1b0c
pr(fixing a typo)
e2612d2
pr(implementing comments)
83c2eec
Merge branch 'master' into master
pleszczy 996327a
pr(implementing comments)
aca5fa7
Merge remote-tracking branch 'origin/master'
b3a984c
Changing how nodejs is being installed on circleCi. Switching from nv…
1c0d969
Changing how nodejs is being installed on circleCi. Switching from nv…
eaa616f
Changing how nodejs is being installed on circleCi. Switching from nv…
75b8ca8
Changing how nodejs is being installed on circleCi. Switching from nv…
7887800
Reverting : Changing how nodejs is being installed on circleCi. Going…
2788b5d
Updating documentation.
0c042e1
Implementing pull request comments.
cff58a2
Formatting requierments according to :
d33c352
Updating changelog.
e7b882f
Merge branch 'master' into master
pleszczy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,6 @@ npm-debug.log | |
dump.rdb | ||
wiki | ||
temp | ||
report.html | ||
coverage | ||
.nyc_output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,42 @@ | ||
machine: | ||
pre: | ||
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0 | ||
- pip install docker-compose | ||
services: | ||
- docker | ||
node: | ||
version: 8.2.0 | ||
hosts: | ||
kafka: 127.0.0.1 | ||
|
||
dependencies: | ||
pre: | ||
- docker-compose up -d | ||
- sudo apt-get update; | ||
- sudo apt-get -y install libsasl2-dev libssl-dev | ||
version: 2 | ||
jobs: | ||
build: | ||
working_directory: ~/kafka-avro | ||
machine: | ||
image: ubuntu-1604:201903-01 | ||
docker_layer_caching: true | ||
steps: | ||
- checkout | ||
- run: | ||
name: Start kafka and schema-registry | ||
command: docker-compose up -d | ||
- run: | ||
name: Install [email protected] | ||
command: | | ||
set +e | ||
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh | bash | ||
export NVM_DIR="/opt/circleci/.nvm" | ||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | ||
nvm install v8.16 | ||
nvm alias default v8.16 | ||
# Each step uses the same `$BASH_ENV`, so need to modify it | ||
echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV | ||
echo "[ -s \"$NVM_DIR/nvm.sh\" ] && . \"$NVM_DIR/nvm.sh\"" >> $BASH_ENV | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package.json" }} | ||
- save_cache: | ||
key: dependency-cache-{{ checksum "package.json" }} | ||
paths: | ||
- node_modules | ||
- run: | ||
name: Install projects dependencies | ||
command: 'unset NVM_NODEJS_ORG_MIRROR NVM_IOJS_ORG_MIRROR && npm install' | ||
- run: | ||
name: Add hostnames for kafka | ||
command: echo 127.0.0.1 kafka | sudo tee -a /etc/hosts && echo 127.0.0.1 schema-registry | sudo tee -a /etc/hosts && echo 127.0.0.1 zookeeper | sudo tee -a /etc/hosts | ||
- run: | ||
name: print /etc/hosts content | ||
command: cat /etc/hosts | ||
- run: | ||
name: Test | ||
command: npm run-script coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can simplify this if we don't use
nvm
- just raw node. What you think?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need v8 version of node to build node-rdkafka. Ill see if I can use apt-get to install a concrete version of node.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried but I couldn't get apt-get to install the version I wanted. I've moved back to nvm.
`
https://circleci.com/gh/pleszczy/kafka-avro/63