From 7bdf3baaf129a255613456b3a91fc58fe0a4c668 Mon Sep 17 00:00:00 2001 From: yoavLudeo <122541139+yoavLudeo@users.noreply.github.com> Date: Fri, 9 Feb 2024 22:12:31 +0200 Subject: [PATCH 1/4] remove repo from package.json --- package.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 40fad8b..d8ca38d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@moleculer/channels", - "version": "0.1.8", + "name": "@moleculer/channels-ludeo", + "version": "0.0.1", "description": "Reliable messages for Moleculer services", "main": "index.js", "scripts": { @@ -24,10 +24,6 @@ "moleculer", "microservice" ], - "repository": { - "type": "git", - "url": "https://github.com/moleculerjs/moleculer-channels.git" - }, "typings": "types/index.d.ts", "author": "MoleculerJS", "license": "MIT", From 934b97789feb50f8e6a56f58a810760556764820 Mon Sep 17 00:00:00 2001 From: yoavLudeo <122541139+yoavLudeo@users.noreply.github.com> Date: Fri, 9 Feb 2024 22:12:41 +0200 Subject: [PATCH 2/4] changed delimeter --- src/adapters/kafka.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/adapters/kafka.js b/src/adapters/kafka.js index 3c1acc0..2712c64 100644 --- a/src/adapters/kafka.js +++ b/src/adapters/kafka.js @@ -86,7 +86,7 @@ class KafkaAdapter extends BaseAdapter { () => ({ namespace, level, log }) => { this.kafkaLogger[convertLogLevel(level)]( - `[${namespace}${log.groupId != null ? ":" + log.groupId : ""}]`, + `[${namespace}${log.groupId != null ? "-" + log.groupId : ""}]`, log.message ); }, @@ -252,7 +252,7 @@ class KafkaAdapter extends BaseAdapter { } let consumer = this.client.consumer({ - groupId: `${chan.group}:${chan.name}`, + groupId: `${chan.group}-${chan.name}`, maxInFlightRequests: chan.maxInFlight, ...(this.opts.kafka.consumerOptions || {}), ...chan.kafka From 2c0ca84ba5d81475f92bdbb0bf1155a14847837f Mon Sep 17 00:00:00 2001 From: yoavLudeo <122541139+yoavLudeo@users.noreply.github.com> Date: Fri, 9 Feb 2024 22:28:32 +0200 Subject: [PATCH 3/4] pj --- package.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d8ca38d..2040cf2 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@moleculer/channels-ludeo", + "name": "@ludeo/channels-ludeo", "version": "0.0.1", "description": "Reliable messages for Moleculer services", "main": "index.js", @@ -24,6 +24,10 @@ "moleculer", "microservice" ], + "repository": { + "type": "git", + "url": "git+https://github.com/EdgeGamingGG/moleculer-channels-forked.git" + }, "typings": "types/index.d.ts", "author": "MoleculerJS", "license": "MIT", @@ -72,5 +76,13 @@ "dependencies": { "lodash": "^4.17.21", "semver": "^7.5.4" + }, + "bugs": { + "url": "https://github.com/EdgeGamingGG/moleculer-channels-forked/issues" + }, + "homepage": "https://github.com/EdgeGamingGG/moleculer-channels-forked#readme", + "directories": { + "example": "examples", + "test": "test" } } From 3ffb8f95a5218293de90c50df2167f2a59d8004b Mon Sep 17 00:00:00 2001 From: AsafZoki Date: Wed, 6 Nov 2024 11:34:22 +0200 Subject: [PATCH 4/4] Add pull request workflow --- .github/workflows/pr-check.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/workflows/pr-check.yml diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml new file mode 100644 index 0000000..b141c69 --- /dev/null +++ b/.github/workflows/pr-check.yml @@ -0,0 +1,9 @@ +name: PR Commit Message Check + +on: + pull_request: + types: [opened, synchronize] + +jobs: + call-pr-check: + uses: EdgeGamingGG/ReusableWorkflows/.github/workflows/pr-check.yml@main