- What's New
- Billing
- Service Overview
- Getting Started
-
User Guide
- Getting Started with EG
- Permissions Management
- Event Sources
- Event Channels
- Event Subscriptions
- Event Streams
- Events
- Event Rules
- Event Targets
- Network Management
- IAM Projects and Enterprise Projects
- Authorization
- Event Monitoring
- Auditing
-
FAQs
- How Is EG Billed?
- Why Did My Event Source Creation Fail?
- How Do I Configure a Security Group When Creating an Event Source?
- Why Did My Event Publishing Fail?
- Why Was the Target Not Triggered?
- Can I Push Custom Events to EG?
- How Do I Filter Events to Transmit to the Target?
- How Do I Transfer Custom Event Content to the Target?
- How Do I Obtain the SASL Certificate Address of a DMS for Kafka Instance?
- SDK Reference
- General Reference
Show all
Copied.
Routing to DMS for Kafka
Configure DMS for Kafka as the event target when creating an event stream.
Prerequisites
You have enabled DMS for Kafka as the event target.
Procedure
- Log in to the EG console.
- In the navigation pane, choose Event Streams.
- Click Create Event Stream.
- Enter an event stream name and description, and click OK.
- Configure the event source by referring to Configuring DMS for Kafka as the Event Source.
- Configure the event target.
- Click Event Target.
- Select Distributed Message Service (DMS) for Kafka for Target.
- Set event target parameters.
Figure 1 Distributed Message Service (DMS) for Kafka
Table 1 Distributed Message Service (DMS) for Kafka parameters Parameter
Description
Connection
Select a connection. If no connection is available, create one with DMS for Kafka.
Topic
First select a connection, and then select a topic.
Message Key
Disable
Do not use a message key.
Enable
Variable: The key is a variable value from CloudEvents-compliant events.
Constant: The key is a specified constant. All messages will be sent to the same partition.
Rule
Transform Type
EG transforms CloudEvents-compliant events for targets. The following three types are supported:- Pass-through: Route the complete structure of native events directly to the target.
- Variables: Route only parameters extracted from events with JSONPath to the target.
- Constants: Route only constants in events to the target as a trigger.
For more information about the transform types, see Event Content Transformation.
Message Push
Batch Push
Specify whether to enable batch push to aggregate multiple events.
Messages
Interval (s)
The maximum number of aggregated records that can be pushed at a time. Default: 100. Range: 1–10,000. This parameter is available only when Batch Push is enabled.
The interval between batch pushes, in seconds. Default: 1. Range: 0–15. This parameter is available only when Batch Push is enabled.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot