Giter Site home page Giter Site logo

Comments (8)

Ahoo-Wang avatar Ahoo-Wang commented on June 11, 2024

https://github.com/Ahoo-Wang/CosId/blob/main/examples/cosid-example-redis/src/main/resources/application.yaml

image

from cosid.

knight-xiaolu2023 avatar knight-xiaolu2023 commented on June 11, 2024

改了还是不行啊

from cosid.

Ahoo-Wang avatar Ahoo-Wang commented on June 11, 2024

把完整 yaml 文件发给我。

from cosid.

knight-xiaolu2023 avatar knight-xiaolu2023 commented on June 11, 2024

image
image
文字发出来没缩进。。只能截图

from cosid.

Ahoo-Wang avatar Ahoo-Wang commented on June 11, 2024
server:
  port: 8601
spring:
  application:
    name: ${service.name:cosid-example-redis}
  redis:
    host: localhost
cosid:
  namespace: ${spring.application.name}
  machine:
    enabled: true
    distributor:
      type: redis
    guarder:
      enabled: true
  snowflake:
    enabled: false
  segment:
    enabled: true
    mode: chain
    distributor:
      type: redis
    share:
      converter:
        type: to_string
        to-string:
          pad-start: true

logging:
  level:
    me.ahoo.cosid: debug

from cosid.

Ahoo-Wang avatar Ahoo-Wang commented on June 11, 2024

会用 markdown 吗?

from cosid.

knight-xiaolu2023 avatar knight-xiaolu2023 commented on June 11, 2024

我换了个旧版的就好了,这个机器码分配必须要用到springcloud吗?我这边是单体服务,采用的是nginx代理,没有springcloud

from cosid.

knight-xiaolu2023 avatar knight-xiaolu2023 commented on June 11, 2024

可以了,从1.16换到了1.11版

from cosid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.