Skip to content

Commit

Permalink
馃悰 Source Kafka - Add missing record_count increment for JSON (#18648)
Browse files Browse the repository at this point in the history
* add missing record_count increment

* bump version

* Update kafka.md

* update version

* auto-bump connector version

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
Co-authored-by: Sajarin <sajarindider@gmail.com>
  • Loading branch information
4 people committed Nov 7, 2022
1 parent d815fb9 commit 3365660
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@
- name: Kafka
sourceDefinitionId: d917a47b-8537-4d0d-8c10-36a9928d4265
dockerRepository: airbyte/source-kafka
dockerImageTag: 0.2.0
dockerImageTag: 0.2.2
documentationUrl: https://docs.airbyte.com/integrations/sources/kafka
icon: kafka.svg
sourceType: database
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5806,7 +5806,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-kafka:0.2.0"
- dockerImage: "airbyte/source-kafka:0.2.2"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/kafka"
connectionSpecification:
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-kafka/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ ENV APPLICATION source-kafka

COPY --from=build /airbyte /airbyte

LABEL io.airbyte.version=0.2.0
LABEL io.airbyte.version=0.2.2
LABEL io.airbyte.name=airbyte/source-kafka
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public AutoCloseableIterator<AirbyteMessage> read() {
}

consumerRecords.forEach(record -> {
record_count.getAndIncrement();
recordsList.add(record);
});
consumer.commitAsync();
Expand Down
2 changes: 2 additions & 0 deletions docs/integrations/sources/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ The Kafka source connector supports the following [sync modes](https://docs.airb

| Version | Date | Pull Request | Subject |
| :------ | :-------- | :------------------------------------------------------| :---------------------------------------- |
| 0.2.2 | 2022-11-04 | [18648](https://github.com/airbytehq/airbyte/pull/18648) | Add missing record_count increment for JSON|
| 0.2.1 | 2022-11-04 | This version was the same as 0.2.0 and was committed so using 0.2.2 next to keep versions in order|
| 0.2.0 | 2022-08-22 | [13864](https://github.com/airbytehq/airbyte/pull/13864) | Added AVRO format support and Support for maximum records to process|
| 0.1.7 | 2022-06-17 | [13864](https://github.com/airbytehq/airbyte/pull/13864) | Updated stacktrace format for any trace message errors |
| 0.1.6 | 2022-05-29 | [12903](https://github.com/airbytehq/airbyte/pull/12903) | Add Polling Time to Specification (default 100 ms) |
Expand Down

0 comments on commit 3365660

Please sign in to comment.