-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Doc] Bridge integration doc #1665
Conversation
I produced a local build using AsciiDoctor but cannot see the Kafka Bridge content. It looks like you need to add the assembly-deployment-configuration-kafka-bridge.adoc file to the Are there any further parent assemblies that need updating? |
That is because this PR is dependent on #1641 |
documentation/book/assembly-deployment-configuration-kafka-bridge.adoc
Outdated
Show resolved
Hide resolved
I understand about the auto-generated content. However, I think you do need to add |
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.
Looks good. I've left a few suggestions. I have a couple of questions on the Healthchecks and Scheduling sections. The sections may be fine in terms of content required, but I've flagged for checking just in case.
documentation/book/proc-configuring-kafka-bridge-authentication-scram-sha-512.adoc
Outdated
Show resolved
Hide resolved
documentation/book/proc-configuring-kafka-bridge-authentication-scram-sha-512.adoc
Outdated
Show resolved
Hide resolved
documentation/book/ref-kafka-bridge-producer-configuration.adoc
Outdated
Show resolved
Hide resolved
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.
I left some comments. I think this is missing two major parts:
- Exposing the Bridge ... this should suggest to the users to create their own routes, node-ports or load-balancers if needed (and warn them about security consequences of that).
- Securing the bridge ... could for example suggest to write your own network policies to manage the access to the bridge.
I think these have to be added to this PR. (but the code needs to be finished first so that we can do RC1)
documentation/book/assembly-kafka-bridge-bootstrap-servers.adoc
Outdated
Show resolved
Hide resolved
documentation/book/ref-kafka-bridge-producer-configuration.adoc
Outdated
Show resolved
Hide resolved
Co-Authored-By: PaulRMellor <47596553+PaulRMellor@users.noreply.github.com>
c45fbaf
to
6a678a6
Compare
@laidan6000 @stanlyDoge - this new content will be picked up in another PR. |
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.
Looks good from a docs POV.
@scholzj @ppatierno - ready to merge? |
Kafka Bridge can run multiple nodes. | ||
The number of nodes is defined in the `KafkaBridge` resource. | ||
Running a Kafka Bridge with multiple nodes can provide better availability and scalability. | ||
However, when running Kafka Bridge on {ProductPlatformName} it is not absolutely necessary to run multiple nodes of Kafka Bridge for high availability. |
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.
I am not sure about this section. Due to our problem with consumers which have to connect to the same bridge instance where the consumer were created, as we mentioned in the past we cannot run the bridge with multiple replicas but having just one and for HA maybe more bridge deployment with just one replica. @scholzj wdyt?
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.
Well, having multiple bridge instances with a single replica will not be HA. Because either you have one service handling them all in case you have the same issues with case you have the same issues as with single instance in multiple replicas. Or you use different services in which case you can hardly call it HA because clients will need to reconfigure to fail over.
That said, maybe this section of the docs should do more about describing the problems with multiple replicas than explain around HA.
documentation/book/proc-configuring-kafka-bridge-bootstrap-servers.adoc
Outdated
Show resolved
Hide resolved
certificate: ca.crt | ||
- secretName: my-other-secret | ||
certificate: certificate.crt | ||
- secretName: my-secret |
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.
From examples/kafka-connect/kafka-connect.yaml
tls:
trustedCertificates:
- secretName: my-cluster-cluster-ca-cert
certificate: ca.crt
Are we sure about the indentation?
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.
Both are valid and working. This:
tls:
trustedCertificates:
- secretName: my-cluster-cluster-ca-cert
certificate: ca.crt
has the same meaning as this:
tls:
trustedCertificates:
- secretName: my-cluster-cluster-ca-cert
certificate: ca.crt
I usually prefer the first one as I find it more readable. But I think that most editors will format into the second. Either way in both case the secret reference will be in the hierarchy under the trustedCertificates
.
@@ -0,0 +1,25 @@ | |||
// Module included in the following assemblies: | |||
// | |||
// assembly-kafka-bridge.adoc |
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.
@stanlyDoge - Please can you combine the OCP and Kubernetes deployment procedures into a single procedure and apply IF statements. Please ask if you're unsure.
* Bridge integration doc * comments1 * comments * Apply suggestions from Paul's code review Co-Authored-By: PaulRMellor <47596553+PaulRMellor@users.noreply.github.com> * deploying * typos+forbidden * review edits js * Bridge integration doc * comments1 * comments * Apply suggestions from Paul's code review Co-Authored-By: PaulRMellor <47596553+PaulRMellor@users.noreply.github.com> * deploying * typos+forbidden * review edits js * comments * kafkabridge ref * another comments * review edits
Type of change
Description
Bridge integration doc. Realted to #1641
Checklist
Please go through this checklist and make sure all applicable tasks have been done
./design