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
xread count 10000 streams transactions_user 0-0 |
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
az spring-cloud app logs -n acrebankapp -g rdsLroAcre -s acrebank |
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
az spring-cloud app deploy -n acrebankapp -s acrebank -g rdsLroAcre --jar-path target/redisbank-0.0.1-SNAPSHOT.jar |
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
stomp.host=your ASC app endpoint URL (Default: <appname>-<service-name>.azuremicroservices.io) | |
stomp.port=443 | |
stomp.protocol=wss |
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
spring.redis.host=your ACRE hostname | |
spring.redis.port=your ACRE port (default: 10000) | |
spring.redis.password= your ACRE access key |
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
ft.search transaction_description_idx Fuel | |
ft.search transaction_description_idx Fuel highlight | |
ft.search transaction_description_idx Fuel highlight tags <mytag> </mytag> |
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
ts.range balance_ts_lars 1623000000000 1653230682038 (use appropriate timestamps or it will return an empty array) |
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
zrangebyscore bigspenders_lars 0 10000 withscores |
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
xread count 10000 streams transactions_lars 0-0 |
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
String biggestSpendersKey = SORTED_SET_KEY + principal.getName(); | |
Set<TypedTuple<String>> range = redis.opsForZSet().rangeByScoreWithScores(biggestSpendersKey, 0, | |
Double.MAX_VALUE); | |
if (range.size() > 0) { | |
BiggestSpenders biggestSpenders = new BiggestSpenders(range.size()); | |
int i = 0; | |
for (TypedTuple<String> typedTuple : range) { | |
biggestSpenders.getSeries()[i] = Math.floor(typedTuple.getScore() * 100) / 100; | |
biggestSpenders.getLabels()[i] = typedTuple.getValue(); | |
i++; |