-
Notifications
You must be signed in to change notification settings - Fork 132
Docs: update Kafka Bridge to HTTP Bridge (#1032) #1038
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
TanmaySrivastav
wants to merge
3
commits into
strimzi:main
Choose a base branch
from
TanmaySrivastav:docs/1032-http-bridge
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,19 @@ | ||
| // This assembly is included in the following assemblies: | ||
| // | ||
| // bridge.adoc | ||
|
|
||
| [id='assembly-http-bridge-config-{context}'] | ||
| = HTTP Bridge configuration | ||
|
|
||
| [role="_abstract"] | ||
| Configure a deployment of the HTTP Bridge with Kafka-related properties and specify the HTTP connection details needed to be able to interact with Kafka. | ||
| Additionally, enable metrics in Prometheus format using either the https://github.com/prometheus/jmx_exporter[Prometheus JMX Exporter] or the https://github.com/strimzi/metrics-reporter[Strimzi Metrics Reporter]. | ||
| You can also use configuration properties to enable and use distributed tracing with the HTTP Bridge. | ||
| Distributed tracing allows you to track the progress of transactions between applications in a distributed system. | ||
|
|
||
| NOTE: Use the `KafkaBridge` resource to configure properties when you are xref:overview-components-running-http-bridge-cluster-{context}[running the HTTP Bridge on Kubernetes]. | ||
|
|
||
| include::modules/proc-configuring-http-bridge.adoc[leveloffset=+1] | ||
| include::modules/proc-configuring-http-bridge-jmx-metrics.adoc[leveloffset=+1] | ||
| include::modules/proc-configuring-http-bridge-smr-metrics.adoc[leveloffset=+1] | ||
| include::modules/proc-configuring-http-bridge-tracing.adoc[leveloffset=+1] |
29 changes: 29 additions & 0 deletions
29
documentation/assemblies/assembly-http-bridge-overview.adoc
This file contains hidden or 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,29 @@ | ||
| // This assembly is included in the following assemblies: | ||
| // | ||
| // bridge.adoc | ||
|
|
||
| [id='assembly-http-bridge-overview-{context}'] | ||
| = HTTP Bridge overview | ||
|
|
||
| [role="_abstract"] | ||
| Use the HTTP Bridge to make HTTP requests to a Kafka cluster. | ||
|
|
||
| You can use the HTTP Bridge to integrate HTTP client applications with your Kafka cluster. | ||
|
|
||
| .HTTP client integration | ||
|
|
||
| image:kafka-bridge.png[Internal and external HTTP producers and consumers exchange data with the Kafka brokers through the HTTP Bridge] | ||
|
|
||
| include::modules/con-overview-running-http-bridge.adoc[leveloffset=+1] | ||
|
|
||
| include::modules/con-overview-components-http-bridge.adoc[leveloffset=+1] | ||
|
|
||
| include::modules/con-overview-open-api-spec-http-bridge.adoc[leveloffset=+1] | ||
|
|
||
| include::modules/con-securing-http-bridge.adoc[leveloffset=+1] | ||
|
|
||
| include::modules/con-securing-http-interface.adoc[leveloffset=+1] | ||
|
|
||
| include::modules/con-requests-http-bridge.adoc[leveloffset=+1] | ||
|
|
||
| include::modules/con-loggers-http-bridge.adoc[leveloffset=+1] |
This file contains hidden or 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
19 changes: 0 additions & 19 deletions
19
documentation/assemblies/assembly-kafka-bridge-config.adoc
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
documentation/assemblies/assembly-kafka-bridge-overview.adoc
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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
8 changes: 4 additions & 4 deletions
8
...ion/modules/con-loggers-kafka-bridge.adoc → ...tion/modules/con-loggers-http-bridge.adoc
This file contains hidden or 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 hidden or 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
12 changes: 6 additions & 6 deletions
12
...-overview-open-api-spec-kafka-bridge.adoc → ...n-overview-open-api-spec-http-bridge.adoc
This file contains hidden or 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
30 changes: 30 additions & 0 deletions
30
documentation/modules/con-overview-running-http-bridge.adoc
This file contains hidden or 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,30 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // assembly-http-bridge-overview.adoc | ||
|
|
||
| [id="overview-components-running-http-bridge-{context}"] | ||
| = Running the HTTP Bridge | ||
|
|
||
| [role="_abstract"] | ||
| Install the HTTP Bridge to run in the same environment as your Kafka cluster. | ||
|
|
||
| You can download and add the HTTP Bridge installation artifacts to your host machine. | ||
| To try out the HTTP Bridge in your local environment, see the xref:assembly-http-bridge-quickstart-{context}[HTTP Bridge quickstart]. | ||
|
|
||
| It's important to note that each instance of the HTTP Bridge maintains its own set of in-memory consumers (and subscriptions) that connect to the Kafka Brokers on behalf of the HTTP clients. | ||
| This means that each HTTP client must maintain affinity to the same HTTP Bridge instance in order to access any subscriptions that are created. | ||
| Additionally, when an instance of the HTTP Bridge restarts, the in-memory consumers and subscriptions are lost. | ||
| **It is the responsibility of the HTTP client to recreate any consumers and subscriptions if the HTTP Bridge restarts.** | ||
|
|
||
| [id="overview-components-running-http-bridge-cluster-{context}"] | ||
| == Running the HTTP Bridge on Kubernetes | ||
|
|
||
| If you deployed Strimzi on Kubernetes, you can use the Strimzi Cluster Operator to deploy the HTTP Bridge to the Kubernetes cluster. | ||
| Configure and deploy the HTTP Bridge as a `KafkaBridge` resource. | ||
| You'll need a running Kafka cluster that was deployed by the Cluster Operator in a Kubernetes namespace. | ||
| You can configure your deployment to access the HTTP Bridge outside the Kubernetes cluster. | ||
|
|
||
| HTTP clients must maintain affinity to the same instance of the HTTP Bridge to access any consumers or subscriptions that they create. Hence, running multiple replicas of the HTTP Bridge per Kubernetes Deployment is not recommended. | ||
| If the HTTP Bridge pod restarts (for instance, due to Kubernetes relocating the workload to another node), the HTTP client must recreate any consumers or subscriptions. | ||
|
|
||
| For information on deploying and configuring the HTTP Bridge as a `KafkaBridge` resource, see the {BookURLConfiguring}. |
30 changes: 0 additions & 30 deletions
30
documentation/modules/con-overview-running-kafka-bridge.adoc
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.