The official elastic.io library for bootstrapping and executing for connectors built on JVM.
To build the project run in terminal
./gradlew build
ELASTICIO_AMQP_PUBLISH_CONFIRM_ENABLED- Enable publish confirm functionality. Default value:trueELASTICIO_CONSUMER_THREAD_POOL_SIZE- if not specified (by default) it equals Prefetch Count value. Indicates the size of the thread pool for AMQP consumers.
Prerequisites:
Imagine that current sailor version is 3.5.1 and you gonna release new major version 4.0.0
-
Create branch to implement feature.
-
During implementation specify
-SNAPSHOTsuffix for the version in thebuild.gradle. The version should have next value -4.0.0-SHAPSHOT. -
If you want to test new sailor version, just push changes to your feature branch. If you push any changes to the Sailor GitHub repository with X.X.X-SNAPSHOT, circle.ci will automatically upload the SNAPSHOT version to Sonatype repository. After CI job will be done you can use
4.0.0-SHAPSHOTversion in the components. -
After code changes will be reviewed and tested by qa, remove
-SNAPSHOTsuffix, and merge Pull Request to master branch. The version should have next value -4.0.0. -
To publish stable release version create GitHub release with tag 4.0.0. This will trigger CI pipeline to publish release version to the Production maven repository.
-
Go to Repository Manager and log in with your credentials (the same Sonatype credentials)
-
Under
Staging Repositoriesyou will find a freshly created repo for elastic.io
- Close the repository
Select the repository and click on the Close button. A popup confirmation will appear and ask you for a description. Type something like "Releasing version 4.0.0" and hit the button.
- Wait until the repo is closed
You can check the process in the Activity tab. Use the Refresh button to get the update of the latest status. Once the repository is finally closed, the Release button is enabled.
- Release it
Once you finally decided that you want to publish the Sailor artefacts to Maven Central, hit the Release button, provide the description in the confirmation popup, confirm and wait for the process to complete. Once the artefacts were successfully published to Maven Central, your staging repository will be deleted.
- Use the artefacts from Maven Central
Usually it takes 8 to 24 hour for the published artefacts to appear on Maven Central. Just check here to find out if the Sailor version is finally publicly available.


