Skip to content
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

remove 'java' part from package name #1103

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

GoMati-MU
Copy link
Contributor

Description

This PR is to get rid of java part in java connectors code packages. When checking we have to pay attention if everything has been moved (as far as I can see this is the case but let me know if it's not).

Copy link
Collaborator

@davidsloan davidsloan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small issue I noticed, why is mongodb referenced in this file. Also might as well check the Codacy issue that's appeared.

@@ -2,5 +2,6 @@ rootProject.name = 'java-reactor'
include 'kafka-connect-common',
'kafka-connect-azure-eventhubs',
'kafka-connect-cloud-common',
'kafka-connect-mongodb',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

???

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good spot! Removed, there's no need for that :)

@GoMati-MU GoMati-MU merged commit 6003b2e into feat/java-azure-connector Apr 2, 2024
147 checks passed
@GoMati-MU GoMati-MU deleted the chore/package-name-remove-java branch April 2, 2024 15:04
GoMati-MU added a commit that referenced this pull request Apr 23, 2024
* adding Azure EventHubs connector skeleton with config

* Azure EventHubs Connector MVP (#1033)

Adds Azure EventHubs Connector MVP over Kafka API.

Commits:

* Azure Connector MVP

* added prefix to Config

* adressing PR comments pt. 1

* adressing PR comments pt. 2

* addressing PR comments pt. 3

* removed unused files

* addressing PR comments pt. 4

* small log issue, getting rid of unused singleton classes

* Build KCQL from gradle (#1042)

* adding Gradle buildscripts for KCQL

* LC-128 adding KCQL to Azure EventHubs and additional properties to Azure

* removing mongodb module (it's scrapped)

* added org.antlr.* package shadowing to avoid conflicts in kafka connect

* adressing PR comments, fixing unit tests

* Azure Eventhubs bytes passthrough (#1047)

* Abstracting data that's being passed through connector to Bytes

* cleanup, additional tests

* picking the first KCQL (in case there are more)

* delegated KCQL properties handling to ProducerProvider

* PR comments

* PR comments pt.2

* added java-specific .gitignore

* missing import

* renaming producer to better indicate its purpose

* Lc 136 eventhubs get output input topics from kcql (#1058)

* getting input/output from KCQL initial impl

* removing small issues (we don't need deserializers configs)

* codacy check

* addressing PR comments pt.1

* cleanup of multiple output topics

* remove 'java' part from package name (#1103)

* remove 'java' part from package name

* comments and remarks pt. 1

* eventub connector to support multiple kcqls (#1108)

* support multiple KCQLs

* remove 'java' part from package name

* merged latest changes, added multi-KCQL support

* fixing bug aroud regex check for topic name, added unit tests

* build scripts (in order to merge PRs)

* additional tests

* Added KCQL parsing and validation to Connector class

* addressing PR comments pt. 1

* Using connector name as consumer group (#1109)

* Using connector name as consumer group

* not exposing ignored ConsumerProperties in ConfigDef

not exposing ignored ConsumerProperties in ConfigDef (as connector sets
it by itself)

* file movements

* GitHub actions for java connectors (#1147)

* preparing modules list in Gradle

* addung workflow for build scripts

* adding Java release pipeline, small regex changes

* JDK to 17 for full-support

* pushing version to 6.4.0-SNAPSHOT to keep them in sync with sbt

* add dependency check to java build workflow

* removed KCQL from java release (as it's built by sbt)

* removed unnecessary parameter

* fix dependency check

* push java test results to subdirectory

* run build on push branch

* run actions on push

* remove build workflow run on every push

* fix github warnings for deprecated functions

* addressing java-matrix output being reset with scala artifacts

* creating separate output from build script 'java_modules'

* Feat/java license headers (#1160)

* add java headers config

* add license headers to source files

* add missing HEADER file

* this commit should fail (no header in one of the tests)

* fixing commit plus including info about check in github actions

* addressing PR comments pt. 1

* PR comments pt.2

* added assertj dependancy for unit tests

* fix build script

* fixed failing test

* addressing PR comments pt.3

* adressed PR comments pt.4

* adressed PR comments pt.5

* Refactoring for simplicity (#1170)

* Refactoring for simplicity
Method Extraction: Extracted repetitive setup code into helper methods like mockKeyValueTypes, mockByteBlockingProducer, mockConsumerRecord, mockEmptyHeaders, and mockRecordsQueue.
Parameterized Methods: Made the mockRecordsQueue method varargs to accept variable numbers of input topics for better reusability.
Local Variable Removal: Removed unnecessary local variables like emptyHeaderList and directly invoked Collections.emptyIterator() where needed.
Inline Initialization: Initialized recordsQueue directly in the test methods instead of setting it up in setUp method, as it's only used within the scope of those methods.
Stream Processing: Utilized Java Streams to simplify the creation of consumerRecordList in the mockRecordsQueue method.
Simplified Assertions: Removed unnecessary assertions and verifications to reduce clutter and improve readability.

* small optimizations (imports, constants, formatting)

---------

Co-authored-by: Mati Urban <[email protected]>

---------

Co-authored-by: Mati Urban <[email protected]>
Co-authored-by: David Sloan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants