Skip to content

Commit

Permalink
Update README with artifact's groupId change (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
eocantu committed Aug 13, 2020
1 parent 06702c4 commit 949be73
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/).

## [3.0.0] - TBD
## [3.0.0] - 2020-08-13
### Changed
- Upgrade to Dropwizard 2.x.
- Switched to Java 11
Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ dropwizard-resilience4j-bundle [![Build Status][build-icon]][build-link]
Lightweight integration of Resilience4J into Dropwizard configuration and metrics. Does not provide any other services - actually _using_
all the Resilience4j stuff is up to you. The [R4J documentation](https://resilience4j.readme.io/docs) is pretty good.

Currently this only supports Circuit Breakers and Retries, but supporting [more R4j features is welcome](http://resilience4j.github.io/resilience4j/#_usage_guide).
Currently, this only supports Circuit Breakers and Retries, but supporting [more R4j features is welcome](http://resilience4j.github.io/resilience4j/#_usage_guide).

User Guide
==============================

In your POM...
```xml
<dependency>
<groupId>com.expediagroup</groupId>
<groupId>com.expediagroup.dropwizard</groupId>
<artifactId>dropwizard-resilience4j-bundle</artifactId>
<version>2.0.0</version> <!-- use latest -->
<version>3.0.0</version> <!-- use latest -->
</dependency>
```

Expand All @@ -33,20 +33,20 @@ resilience4j:
## All parameters are optional except `name`, defaults are documented in CircuitBreakerConfiguration.java
##- name: anotherCircuitBreaker
retryConfigurations:
- name: exponentialRandomizedBackoffRetry
maxAttempts: 4
intervalFunction:
type: exponentialRandomBackoff
initialInterval: 10ms
multiplier: 2.5
randomizationFactor: 0.5
## Add as many as you want
## most parameters are optional, but `intervalFunction` is required. Several are available, see `IntervalFunctionFactory` for full list,
## but currently: constant, randomized, exponentialBackoff, exponentialRandomBackoff
- name: exponentialRandomizedBackoffRetry
maxAttempts: 4
intervalFunction:
type: exponentialRandomBackoff
initialInterval: 10ms
multiplier: 2.5
randomizationFactor: 0.5
## Add as many as you want
## most parameters are optional, but `intervalFunction` is required. Several are available, see `IntervalFunctionFactory` for full list,
## but currently: constant, randomized, exponentialBackoff, exponentialRandomBackoff
```

Add to your application's Config class:
```yaml
```java
@NotNull
private Resilience4jConfiguration resilience4j;
```
Expand Down

0 comments on commit 949be73

Please sign in to comment.