Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netty默认的Channel的通道id太长了,目前框架上支持这个id自定义吗? #248

Open
wood20230311 opened this issue Mar 20, 2023 · 1 comment

Comments

@wood20230311
Copy link

No description provided.

@pipipapi
Copy link

netty的channel是io.netty.channel.DefaultChannelId这个实现类生成,
你想改的话也应该把issue提给netty吧哈哈
不过可以用io.netty.processId和io.netty.machineId参数来把你想要的部分特征混进去 至于长度.. 随着现在海量请求的业务增长, ID长了应该是更具扩展性啊..不然有可能产生碰撞了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants