question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support springboot placeholder configruation for Sharding-springboot

See original GitHub issue

[Enhancement] Support springboot placeholder configruation for Sharding-springboot

Task content

User can use springboot placeholder${} to configure sharding.jdbc.datasource.names, i.e.

sharding.jdbc.datasource.names=db_${random.int}

Current situation

User can not use springboot placeholder to configure sharding configurations.

Others

There is another issue #1686 related to this one, welcome to be responsible for two issues together for Sharding-spring project.

Reference

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
xuminwltcommented, Jan 18, 2019

An want to make it.

0reactions
tristaZerocommented, Jan 22, 2019

@xuminwlt Thanks for your PR#13, and it was merged already.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Boot Configuration - Apache ShardingSphere
is conflict with spring placeholder of properties, so use $->{. ... Driver spring.shardingsphere.datasource.ds0.url=jdbc:mysql://localhost:3306/ds0 ...
Read more >
Common Application Properties - Spring
Name Description Default... spring.cassandra.config Location of the configuration file to use. spring.cassandra.controlconnection.timeout Timeout to use for control queries. 5s spring.cassandra.keyspace‑name Keyspace name to use.
Read more >
How to Read Value from Spring Boot Application Properties ...
In a Spring Boot application, the application.properties. ... You may consider using sharding to support the configuration of multiple underlying Aurora ...
Read more >
Spring Boot CRUD Application with Thymeleaf - Baeldung
In this case, we'll rely on spring-boot-starter-parent for simple dependency management, versioning and plugin configuration.
Read more >
Elasticsearch with Spring Boot + Spring Data - JavaCodeMonk
We need to create a main class for running spring boot application, model classes for Spring data elasticsearch, repository and service classes.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found