From 651349ceeb0912648356f8089df5c65bbc7c3fac Mon Sep 17 00:00:00 2001 From: "javen.liu" Date: Tue, 22 Apr 2025 23:25:21 +0800 Subject: [PATCH 1/3] update readme --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4913c79..9d1d7bb 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,14 @@ ### **🔑 Release** -[![NuGet Version](https://img.shields.io/nuget/v/NebulaBus?style=plastic&color=blue)](https://www.nuget.org/packages/NebulaBus/) -![NuGet Downloads](https://img.shields.io/nuget/dt/NebulaBus?style=plastic&link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FNebulaBus) +| Nuget Package | Description | +| ---- | ---- | +| ![NuGet Version](https://img.shields.io/nuget/v/NebulaBus?style=plastic&label=NebulaBus&color=blue&link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FNebulaBus%2F) | NebulaBus's Core | +| ![NuGet Version](https://img.shields.io/nuget/v/NebulaBus.Store.Memory?style=plastic&label=NebulaBus.Store.Memory&color=blue&link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FNebulaBus.Store.Memory%2F) | NebulaBus Memory Store Provider | +| ![NuGet Version](https://img.shields.io/nuget/v/NebulaBus.Store.Redis?style=plastic&label=NebulaBus.Store.Redis&color=blue&link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FNebulaBus.Store.Redis%2F) | NebulaBus Redis Store Provider | +| ![NuGet Version](https://img.shields.io/nuget/v/NebulaBus.Transport.Memory?style=plastic&label=NebulaBus.Transport.Memory&color=blue&link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FNebulaBus.Transport.Memory%2F) | NebulaBus Memory Transport Provider | +| ![NuGet Version](https://img.shields.io/nuget/v/NebulaBus.Transport.Rabbitmq?style=plastic&label=NebulaBus.Transport.Rabbitmq&color=blue&link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FNebulaBus.Transport.Rabbitmq%2F) | NebulaBus Rabbitmq Transport Provider | + ### **📔 文档完善** - [中文文档](https://nebulabus.jiewit.com/zh/) -- Gitee From 67462fe903f4dda2e6ccac5e159fe03265c85e61 Mon Sep 17 00:00:00 2001 From: "javen.liu" Date: Tue, 22 Apr 2025 23:46:39 +0800 Subject: [PATCH 2/3] add readme for every project --- .../NebulaBus.Store.Memory.csproj | 14 +++++++++++++- .../NebulaBus.Store.Redis.csproj | 14 +++++++++++++- .../NebulaBus.Transport.Memory.csproj | 14 +++++++++++++- .../NebulaBus.Transport.Rabbitmq.csproj | 18 +++++++++++++++--- src/NebulaBus/NebulaBus.csproj | 2 +- 5 files changed, 55 insertions(+), 7 deletions(-) diff --git a/src/NebulaBus.Store.Memory/NebulaBus.Store.Memory.csproj b/src/NebulaBus.Store.Memory/NebulaBus.Store.Memory.csproj index 8a87f85..ba4a76f 100644 --- a/src/NebulaBus.Store.Memory/NebulaBus.Store.Memory.csproj +++ b/src/NebulaBus.Store.Memory/NebulaBus.Store.Memory.csproj @@ -1,5 +1,16 @@  - + + javen liu + JiewitTech + https://github.com/JiewitTech/NebulaBus.git + https://github.com/JiewitTech/NebulaBus + NebulaBus - Future oriented NET distributed event bus framework, allowing developers to focus on development + NebulaBus enventbus Bus Event Publish + MIT + README.md + $(PackageVersion) + + netstandard2.1 enable @@ -7,6 +18,7 @@ + diff --git a/src/NebulaBus.Store.Redis/NebulaBus.Store.Redis.csproj b/src/NebulaBus.Store.Redis/NebulaBus.Store.Redis.csproj index bc9140a..a4d57d3 100644 --- a/src/NebulaBus.Store.Redis/NebulaBus.Store.Redis.csproj +++ b/src/NebulaBus.Store.Redis/NebulaBus.Store.Redis.csproj @@ -1,5 +1,16 @@  - + + javen liu + JiewitTech + https://github.com/JiewitTech/NebulaBus.git + https://github.com/JiewitTech/NebulaBus + NebulaBus - Future oriented NET distributed event bus framework, allowing developers to focus on development + NebulaBus enventbus Bus Event Publish + MIT + README.md + $(PackageVersion) + + netstandard2.1 enable @@ -7,6 +18,7 @@ + diff --git a/src/NebulaBus.Transport.Memory/NebulaBus.Transport.Memory.csproj b/src/NebulaBus.Transport.Memory/NebulaBus.Transport.Memory.csproj index 8a87f85..312125c 100644 --- a/src/NebulaBus.Transport.Memory/NebulaBus.Transport.Memory.csproj +++ b/src/NebulaBus.Transport.Memory/NebulaBus.Transport.Memory.csproj @@ -1,4 +1,15 @@  + + javen liu + JiewitTech + https://github.com/JiewitTech/NebulaBus.git + https://github.com/JiewitTech/NebulaBus + NebulaBus - Future oriented NET distributed event bus framework, allowing developers to focus on development + NebulaBus enventbus Bus Event Publish + MIT + README.md + $(PackageVersion) + netstandard2.1 @@ -6,7 +17,8 @@ - + + diff --git a/src/NebulaBus.Transport.Rabbitmq/NebulaBus.Transport.Rabbitmq.csproj b/src/NebulaBus.Transport.Rabbitmq/NebulaBus.Transport.Rabbitmq.csproj index d0ebfd6..a1f6fad 100644 --- a/src/NebulaBus.Transport.Rabbitmq/NebulaBus.Transport.Rabbitmq.csproj +++ b/src/NebulaBus.Transport.Rabbitmq/NebulaBus.Transport.Rabbitmq.csproj @@ -1,16 +1,28 @@  - + + javen liu + JiewitTech + https://github.com/JiewitTech/NebulaBus.git + https://github.com/JiewitTech/NebulaBus + NebulaBus - Future oriented NET distributed event bus framework, allowing developers to focus on development + NebulaBus enventbus Bus Event Publish + MIT + README.md + $(PackageVersion) + + netstandard2.1 enable - + - + + diff --git a/src/NebulaBus/NebulaBus.csproj b/src/NebulaBus/NebulaBus.csproj index 921887e..2cd4693 100644 --- a/src/NebulaBus/NebulaBus.csproj +++ b/src/NebulaBus/NebulaBus.csproj @@ -5,7 +5,7 @@ https://github.com/JiewitTech/NebulaBus.git https://github.com/JiewitTech/NebulaBus NebulaBus - Future oriented NET distributed event bus framework, allowing developers to focus on development - NebulaBus enventbus + NebulaBus enventbus Bus Event Publish MIT README.md $(PackageVersion) -- Gitee From d3213b7714ec6ed4d2f319b2f6c19fa915a8c37a Mon Sep 17 00:00:00 2001 From: "javen.liu" Date: Wed, 23 Apr 2025 18:23:22 +0800 Subject: [PATCH 3/3] fix name --- src/FullMemoryWebApiSample/Program.cs | 5 ++++- src/NebulaBus.Store.Memory/NebulaMemoryStoreExtension.cs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/FullMemoryWebApiSample/Program.cs b/src/FullMemoryWebApiSample/Program.cs index d277b86..68ff53e 100644 --- a/src/FullMemoryWebApiSample/Program.cs +++ b/src/FullMemoryWebApiSample/Program.cs @@ -1,3 +1,4 @@ +using System.Text.Json; using LogicSamples; using LogicSamples.Handlers; using NebulaBus.Store.Memory; @@ -25,9 +26,11 @@ public class Program builder.Services.AddSwaggerGen(); builder.Services.AddNebulaBus(options => { + options.ClusterName = "SampleCluster"; + options.JsonSerializerOptions = new JsonSerializerOptions(); options.ExecuteThreadCount = 1; options.UseMemoryTransport(); - options.UserMemoryStore(); + options.UseMemoryStore(); }); builder.Services.AddNebulaBusHandler(typeof(TestHandlerV1).Assembly); //Add Global Handler Filter diff --git a/src/NebulaBus.Store.Memory/NebulaMemoryStoreExtension.cs b/src/NebulaBus.Store.Memory/NebulaMemoryStoreExtension.cs index debc823..c11d403 100644 --- a/src/NebulaBus.Store.Memory/NebulaMemoryStoreExtension.cs +++ b/src/NebulaBus.Store.Memory/NebulaMemoryStoreExtension.cs @@ -2,7 +2,7 @@ namespace NebulaBus.Store.Memory { public static class NebulaMemoryStoreExtension { - public static void UserMemoryStore(this NebulaOptions options) + public static void UseMemoryStore(this NebulaOptions options) { options.AddNebulaServiceProvider(new NebulaMemoryStoreServiceProvider()); } -- Gitee