magiboys

Results 16 issues of magiboys

Use pub/sub to control the concurrency of subscribing to a specific topic Currently is affecting the entire service

content/missing-information

### Description UserFriendlyException类,如果我要传message, logLevel参数构造类,发现没有对应的构造函数,是否提供一个带所有参数的构造函数以便开发者灵活调用 ### Reproduction Steps _No response_ ### Expected behavior _No response_ ### Actual behavior _No response_ ### Known Workarounds _No response_ ### .NET version _No response_ ###...

希望Application,Domain,Infrastructure,Services层喜欢为不同的类库,现在在一个类库中,不熟悉的开发会有各层相互引用的风险

enhancement

希望像abp vnext一样通过配置内置默认的领域事件和集成事件,如聚合根对象的创建,修改,删除事件

enhancement

### Description 使用时插入100w级数据,每次插入会发布领域集成事件,发现领域集成事件发布缓慢 阅读源码Masa.Contrib.Dispatcher.IntegrationEvents.Processor.SendByDataProcessor类发现, 分批取出IntegrationEventLog数据后是逐个调用IPublisher.PublishAsync方法,这样与dapr交互是有性能损耗的 优化建议是=>是否可以根据topicName分组,实现批量发布呢? dapr是支持批量发布的 ### .NET version _No response_

现在发布集成事件,如果数据量大,逐个发布事件到dapr是有性能损耗的。 dapr支持批量发布事件,希望加强IEventBus的批量发布事件能力

### Description 使用这个模板时,没有取消示例代码的勾选项,而且项目名都加了个Order的后缀 ![微信图片_20231227103642](https://github.com/masastack/MASA.Framework/assets/124755355/29192e7c-db2e-495d-8b09-be4e01eca1a8) ### Reproduction Steps _No response_ ### Expected behavior _No response_ ### Actual behavior _No response_ ### Known Workarounds _No response_ ### .NET version _No response_ ###...

enhancement

我有一个事件继承IIntegrationDomainEvent,当我使用IEventBus时希望只在当前进程发布事件,建议如IIntegrationEventBus一样,新构建一个ILocalEventBus,他只会在本地发布事件。 需求场景,我在web api接收这个集成事件时,不会做业务处理,希望发布成本地事件,在业务层处理,我现在只能新建一个属性一样的类,使他只继承Event来实现,这有点冗余

### Description 我的jwt token由IdentityServer4生成的, 当用户角色只有一个时,数据是这样的 { "sub": "0f974b04-e32b-0210-f57b-3a0e1510e1ec", "role": "admin", } 多个角色时是 { "sub": "0f974b04-e32b-0210-f57b-3a0e1510e1ec", "role": ["admin","test"], } 但是现在Masa.Contrib.Authentication.Identity解析角色时报异常, 原因是在DefaultUserContext中 foreach (var property in userType.GetProperties()) { var claimType = _optionsMonitor.CurrentValue.GetClaimType(property.Name);...

refactor

### Description ![1714007196329](https://github.com/masastack/MASA.Framework/assets/124755355/62496da1-ae7d-4ec5-8c34-70d6e2fdf736) 目前默认Topic是取当前类型的Name,这在分布式系统中可能有命名冲突,是否应更改为FullName ### .NET version _No response_