You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(redpanda): add support for http proxy (#3258)
* feat(redpanda): add support for HTTP Proxy (aka panda proxy)
* chore(redpanda): upgrade default image to 25.2.4
* docs(redpanda): document new HTTP Proxy options
Copy file name to clipboardExpand all lines: docs/modules/redpanda.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,12 @@ Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/
5
5
## Introduction
6
6
7
7
Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
8
-
This Testcontainers module provides three APIs:
8
+
This Testcontainers module provides the following APIs:
9
9
10
10
- Kafka API
11
11
- Schema Registry API
12
12
- Redpanda Admin API
13
+
- HTTP Proxy API (PandaProxy)
13
14
14
15
## Adding this module to your project dependencies
15
16
@@ -121,6 +122,12 @@ The `WithEnableWasmTransform` enables wasm transform.
121
122
122
123
The `WithEnableSchemaRegistryHTTPBasicAuth` enables HTTP basic authentication for the Schema Registry.
123
124
125
+
#### WithHTTPProxyAuthMethod
126
+
127
+
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
128
+
129
+
The `WithHTTPProxyAuthMethod` sets the authentication method for the HTTP Proxy API (PandaProxy). For HTTP Proxy to have BasicAuth, SASL must be enabled. See `WithEnableSASL()`.
130
+
124
131
#### WithAutoCreateTopics
125
132
126
133
- Since <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.22.0"><span class="tc-version">:material-tag: v0.22.0</span></a>
@@ -189,3 +196,14 @@ is an HTTP-based API and thus the returned format will be: http://host:port.
189
196
<!--codeinclude-->
190
197
[Get admin API address](../../modules/redpanda/redpanda_test.go) inside_block:adminAPIAddress
191
198
<!--/codeinclude-->
199
+
200
+
#### HTTPProxyAddress
201
+
202
+
- Not available until the next release <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
203
+
204
+
HTTPProxyAddress returns the address to the HTTP Proxy API (PandaProxy). This
205
+
is an HTTP-based API and thus the returned format will be: http://host:port.
0 commit comments