@@ -100,63 +100,6 @@ Refer to the https://rabbitmq.com/stream.html[stream plugin documentation] for m
100
100
101
101
Use your favorite build management tool to add the client dependencies to your project.
102
102
103
- ==== For Single Active Consumer Branch
104
-
105
- Add the appropriate repository:
106
-
107
- .Single Active Consumer repository declaration for Maven
108
- [source,xml,subs="attributes,specialcharacters"]
109
- ----
110
- <repositories>
111
-
112
- <repository>
113
- <id>rabbitmq-maven-snapshots</id>
114
- <url>https://dl.cloudsmith.io/public/rabbitmq/maven-snapshots/maven/</url>
115
- <snapshots>
116
- <enabled>true</enabled>
117
- <updatePolicy>always</updatePolicy>
118
- </snapshots>
119
- <releases><enabled>false</enabled></releases>
120
- </repository>
121
-
122
- </repositories>
123
- ----
124
-
125
- .Single Active Consumer repository declaration for Gradle:
126
- [source,groovy,subs="attributes,specialcharacters"]
127
- ----
128
- repositories {
129
- maven { url 'https://dl.cloudsmith.io/public/rabbitmq/maven-snapshots/maven/' }
130
- mavenCentral()
131
- }
132
- ----
133
-
134
- Set up the dependency:
135
-
136
- .pom.xml
137
- [source,xml,subs="attributes,specialcharacters"]
138
- ----
139
- <dependencies>
140
-
141
- <dependency>
142
- <groupId>com.rabbitmq</groupId>
143
- <artifactId>stream-client-sac</artifactId>
144
- <version>{project-version}</version>
145
- </dependency>
146
-
147
- </dependencies>
148
- ----
149
-
150
- .build.gradle
151
- [source,groovy,subs="attributes,specialcharacters"]
152
- ----
153
- dependencies {
154
- compile "com.rabbitmq:stream-client-sac:{project-version}"
155
- }
156
- ----
157
-
158
- (TODO: remove this section when merging)
159
-
160
103
==== Maven
161
104
162
105
.pom.xml
@@ -166,7 +109,7 @@ dependencies {
166
109
167
110
<dependency>
168
111
<groupId>com.rabbitmq</groupId>
169
- <artifactId>stream-client</artifactId>
112
+ <artifactId>stream-client-sac </artifactId>
170
113
<version>{project-version}</version>
171
114
</dependency>
172
115
@@ -181,7 +124,7 @@ Milestones and snapshots require to declare the <<milestones-and-snapshots,appro
181
124
[source,groovy,subs="attributes,specialcharacters"]
182
125
----
183
126
dependencies {
184
- compile "com.rabbitmq:stream-client:{project-version}"
127
+ compile "com.rabbitmq:stream-client-sac :{project-version}"
185
128
}
186
129
----
187
130
0 commit comments