Skip to content

在 Polaris 中提供 Nacos 协议的接入 Topics Resources

License

Notifications You must be signed in to change notification settings

chatless/apiserver-nacos

 
 

Repository files navigation

apiserver-nacos

如何使用

构建

# ${nacos_server_plugin_version}: nacosserver 插件版本,默认为 main 的最新 commit
# ${polaris_server_tag}: 北极星服务端版本信息,默认为 main 分支
make build ${nacos_server_plugin_version} ${polaris_server_tag}

配置文件调整

修改 conf/polaris-server.yaml 文件,参考下列配置补充

bootstrap:
  # Global log
  logger:
    nacos-apiserver:
      rotateOutputPath: log/runtime/nacos-apiserver.log
      errorRotateOutputPath: log/runtime/nacos-apiserver-error.log
      rotationMaxSize: 100
      rotationMaxBackups: 10
      rotationMaxAge: 7
      outputLevel: info
      # outputPaths:
      # - stdout
      # errorOutputPaths:
      # - stderr
apiservers:
  - name: service-nacos
    option:
      listenIP: "0.0.0.0"
      listenPort: 8848
      connLimit:
        openConnLimit: false
        maxConnPerHost: 128
        maxConnLimit: 10240

其他

  • NACOS 中的 struct 数据结构定义大部份引用自 nacos-sdk-go

About

在 Polaris 中提供 Nacos 协议的接入 Topics Resources

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.1%
  • Shell 1.6%
  • Makefile 1.3%