이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 33. Is Tombstone Filter Action
Filter based on the presence of body or not.
33.1. Configuration Options 링크 복사링크가 클립보드에 복사되었습니다!
The is-tombstone-filter-action Kamelet does not have any options.
33.2. Dependencies 링크 복사링크가 클립보드에 복사되었습니다!
33.2.1. Quarkus dependencies 링크 복사링크가 클립보드에 복사되었습니다!
<dependencies>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-utils</artifactId>
<version>4.8.5</version>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-kamelet</artifactId>
</dependency>
</dependencies>
33.3. Usage 링크 복사링크가 클립보드에 복사되었습니다!
33.3.1. Camel JBang usage 링크 복사링크가 클립보드에 복사되었습니다!
33.3.1.1. Prerequisites for JBang 링크 복사링크가 클립보드에 복사되었습니다!
- Install JBang.
You have executed the following command:
jbang app install camel@apache/camel
33.3.1.2. Running a route with JBang 링크 복사링크가 클립보드에 복사되었습니다!
Suppose you have a file named route.yaml with this content:
- route:
from:
uri: "kamelet:timer-source"
parameters:
period: 10000
message: 'test'
steps:
- to:
uri: "kamelet:log-sink"
You can now run it directly through the following command.
camel run route.yaml
33.3.2. Knative Action 링크 복사링크가 클립보드에 복사되었습니다!
You can use the is-tombstone-filter-action Kamelet as an intermediate step in a Knative binding.
is-tombstone-filter-action-binding.yaml
apiVersion: camel.apache.org/v1
kind: Pipe
metadata:
name: is-tombstone-filter-action-binding
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1
name: timer-source
properties:
message: "Hello"
steps:
- ref:
kind: Kamelet
apiVersion: camel.apache.org/v1
name: is-tombstone-filter-action
sink:
ref:
kind: Channel
apiVersion: messaging.knative.dev/v1
name: mychannel
33.3.3. Kafka Action 링크 복사링크가 클립보드에 복사되었습니다!
You can use the is-tombstone-filter-action Kamelet as an intermediate step in a Kafka binding.
is-tombstone-filter-action-binding.yaml
apiVersion: camel.apache.org/v1
kind: Pipe
metadata:
name: is-tombstone-filter-action-binding
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1
name: timer-source
properties:
message: "Hello"
steps:
- ref:
kind: Kamelet
apiVersion: camel.apache.org/v1
name: is-tombstone-filter-action
sink:
ref:
kind: KafkaTopic
apiVersion: kafka.strimzi.io/v1beta1
name: my-topic