Skip to content

Commit 372a2d4

Browse files
committed
refactoring to fomrat
1 parent 633d129 commit 372a2d4

File tree

1 file changed

+28
-7
lines changed

1 file changed

+28
-7
lines changed

docs/03-concepts/11-data-converter.md

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,27 @@
1+
---
2+
layout: default
3+
title: Data Converter
4+
permalink: /docs/concepts/data-converter
5+
---
6+
17
# Data Converter
28

3-
## Introduction
4-
A Data Converter in Cadence is responsible for serializing and deserializing data exchanged between workflows, activities, and the Cadence service. It ensures that data is correctly encoded and decoded during communication.
9+
Data Converters in Cadence handle serialization and deserialization of data exchanged between workflows, activities, and the Cadence service. They ensure data is correctly encoded and decoded during communication.
10+
11+
---
12+
13+
## Key Features
14+
15+
### Custom Serialization
16+
Implement custom serialization logic for complex data types.
17+
18+
### Data Compression
19+
Reduce payload size for efficient data transfer.
520

6-
## Use Cases
7-
- **Custom Serialization**: Implement custom serialization logic for complex data types.
8-
- **Data Compression**: Reduce payload size for efficient data transfer.
9-
- **Encryption**: Secure sensitive data during transmission.
21+
### Encryption
22+
Secure sensitive data during transmission.
23+
24+
---
1025

1126
## Examples
1227

@@ -36,9 +51,15 @@ class CustomDataConverter implements DataConverter {
3651
}
3752
```
3853

39-
### References
54+
---
55+
56+
## References
57+
4058
For more examples and detailed implementations, refer to the Cadence samples repository:
4159
- [Data Converter Recipe](https://github.com/cadence-workflow/cadence-samples/tree/master/cmd/samples/recipes/dataconverter)
4260

61+
---
62+
4363
## Conclusion
64+
4465
Data Converters are a powerful feature in Cadence that allow developers to customize how data is handled during workflow execution. By leveraging custom converters, you can optimize performance and ensure data security.

0 commit comments

Comments
 (0)