From f1973734b08b55f403b4097581969ed27fb2351b Mon Sep 17 00:00:00 2001 From: Davide Pianca Date: Mon, 7 Feb 2022 16:02:52 +0100 Subject: [PATCH] Bump version to 0.3.0 --- Readme.md | 42 ++++++++++++++++++++------------------- build.gradle.kts | 2 +- docker/cluster/Dockerfile | 2 +- 3 files changed, 24 insertions(+), 22 deletions(-) diff --git a/Readme.md b/Readme.md index f16878b..cfae9cf 100644 --- a/Readme.md +++ b/Readme.md @@ -5,19 +5,19 @@ **KMQTT** is a Kotlin Multiplatform MQTT 3.1.1/5.0 Broker, with the objective of targeting the most possible build targets. ## Features -:heavy_multiplication_x: = TODO -:heavy_check_mark: = Supported +:x: = TODO +:white_check_mark: = Supported :heavy_plus_sign: = Experimental -| Platform | MQTT 3.1.1 | MQTT 5.0 | Clustering | TCP | TLS | Websocket | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| JVM | :heavy_check_mark: | :heavy_check_mark: | :heavy_plus_sign: | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: | -| Windows X64 | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: | -| Windows X86 | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: | -| Linux X64 | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: | -| Linux ARM32 | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: | -| Linux ARM64 | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: | -| Node.js | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_multiplication_x: | +| Platform | MQTT 3.1.1 | MQTT 5.0 | TCP | TLS | Websocket | Clustering | +| :---: | :---: | :---: | :---: |:------------------:|:------------------:|:-----------------:| +| JVM | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :heavy_plus_sign: | +| Windows X64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | +| Windows X86 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | +| Linux X64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | +| Linux ARM32 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | +| Linux ARM64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | +| Node.js | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | :x: | :x: | ## Getting Started @@ -25,13 +25,15 @@ You can download the executables for your platform under the release tab #### Program Arguments -| Argument | Default Value | Description | -| :---: | :---: | :---: | -| -h | 127.0.0.1 | Interface address to bind the server to | -| -p | 1883 | Server port to listen to | -| --max-connections | 128 | The maximum number of TCP connections to support | -| --key-store | null | The path to the PKCS12 keystore containing the private key and the certificate for TLS, if null TLS is disabled | -| --key-store-psw | null | The password of the PKCS12 keystore indicated in --key-store, if the keystore has no password set, don't set the option | + +| Argument | Default Value | Description | +|:-----------------:|:-------------:|:-----------------------------------------------------------------------------------------------------------------------:| +| -h | 127.0.0.1 | Interface address to bind the server to | +| -p | 1883 | Server port to listen to | +| --max-connections | 128 | The maximum number of TCP connections to support | +| --key-store | null | The path to the PKCS12 keystore containing the private key and the certificate for TLS, if null TLS is disabled | +| --key-store-psw | null | The password of the PKCS12 keystore indicated in --key-store, if the keystore has no password set, don't set the option | +| --wsp | null | The WebSocket port to listen to | ### Library @@ -44,7 +46,7 @@ repositories { maven { url "https://jitpack.io" } } dependencies { - implementation 'com.github.davidepianca98.KMQTT:kmqtt-jvm:0.2.9' + implementation 'com.github.davidepianca98.KMQTT:kmqtt-jvm:0.3.0' } ``` @@ -64,7 +66,7 @@ kotlin { sourceSets { commonMain { dependencies { - implementation 'com.github.davidepianca98:KMQTT:0.2.9' + implementation 'com.github.davidepianca98:KMQTT:0.3.0' } } } diff --git a/build.gradle.kts b/build.gradle.kts index a50fc2e..81e679e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ plugins { } group = "com.github.davidepianca98" -version = "0.2.9" +version = "0.3.0" val serializationVersion: String by project diff --git a/docker/cluster/Dockerfile b/docker/cluster/Dockerfile index 6c3cb7f..1dda136 100644 --- a/docker/cluster/Dockerfile +++ b/docker/cluster/Dockerfile @@ -1,7 +1,7 @@ FROM openjdk:11-jre-slim ENV JAVA_TOOL_OPTIONS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000 -COPY build/libs/kmqtt-0.2.9.jar kmqtt.jar +COPY build/libs/kmqtt-0.3.0.jar kmqtt.jar EXPOSE 1883 EXPOSE 22222 EXPOSE 22223