-
Notifications
You must be signed in to change notification settings - Fork 40.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31238 from ittays
* pr/31238: Polish 'Allow spring.data.cassandra.config file to override default values' Allow spring.data.cassandra.config file to override default values Closes gh-31238
- Loading branch information
Showing
5 changed files
with
97 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...rc/test/resources/org/springframework/boot/autoconfigure/cassandra/override-defaults.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
datastax-java-driver { | ||
basic { | ||
session-name = advanced session | ||
load-balancing-policy { | ||
local-datacenter = datacenter1 | ||
} | ||
request.page-size = 11 | ||
contact-points = [ "1.2.3.4:5678" ] | ||
} | ||
advanced { | ||
throttler { | ||
max-concurrent-requests = 22 | ||
max-requests-per-second = 33 | ||
max-queue-size = 44 | ||
} | ||
control-connection.timeout = 5555 | ||
protocol.compression = SNAPPY | ||
resolve-contact-points = false | ||
} | ||
} |