Skip to content

Commit 2c97def

Browse files
committed
add more details about KamelBinding resource
1 parent acbaf94 commit 2c97def

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

documentation/modules/camelk/pages/camel-k-eventing.adoc

+8-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,14 @@ timed-greeter True
272272
----
273273

274274
The event source is configured to drain the events to `kamelet:sink`.
275-
Now we just need to bind the Kamelet to the service `event-display` and we can do that by using a `KameletBinding`:
275+
Now we just need to bind the Kamelet to the service `event-display` and we can do that by using a `KameletBinding`.
276+
277+
Use Kamelets when you want to connect two or more components (external applications or services). Each Kamelet is basically a route template with configuration properties. You need to know which component you want to get data from (a source) and which component you want to send data to (a sink). You connect the source and sink components by adding Kamelets in a Kamelet Binding as illustrated in Figure below:
278+
279+
.Kamelet Binding source to sink
280+
image::kamelet-binding-simple.png[]
281+
282+
The `KamelBinding` resource definition used to connect the `timed-greeter` source wuth the `event-display` service looks like:
276283

277284
.timed-greeter KameletBinding
278285
[source,yaml]
Loading

0 commit comments

Comments
 (0)