Skip to content

fix(ckafka): [116656892] Update ckafka topics docs #2570

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

Merged
merged 2 commits into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/2570.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
datasource/tencentcloud_ckafka_topics: Update ckafka topics docs
```
17 changes: 3 additions & 14 deletions tencentcloud/services/ckafka/data_source_tc_ckafka_topics.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,8 @@ Use this data source to query detailed information of ckafka topic.
Example Usage

```hcl
resource "tencentcloud_ckafka_topic" "foo" {
instance_id = "ckafka-f9ife4zz"
topic_name = "example"
note = "topic note"
replica_num = 2
partition_num = 1
enable_white_list = true
ip_white_list = ["ip1","ip2"]
clean_up_policy = "delete"
sync_replica_min_num = 1
unclean_leader_election_enable = false
segment = 3600000
retention = 60000
max_message_bytes = 1024
data "tencentcloud_ckafka_topics" "example" {
instance_id = "ckafka-vv7wp5nx"
topic_name = "tf_example"
}
```
17 changes: 3 additions & 14 deletions website/docs/d/ckafka_topics.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,9 @@ Use this data source to query detailed information of ckafka topic.
## Example Usage

```hcl
resource "tencentcloud_ckafka_topic" "foo" {
instance_id = "ckafka-f9ife4zz"
topic_name = "example"
note = "topic note"
replica_num = 2
partition_num = 1
enable_white_list = true
ip_white_list = ["ip1", "ip2"]
clean_up_policy = "delete"
sync_replica_min_num = 1
unclean_leader_election_enable = false
segment = 3600000
retention = 60000
max_message_bytes = 1024
data "tencentcloud_ckafka_topics" "example" {
instance_id = "ckafka-vv7wp5nx"
topic_name = "tf_example"
}
```

Expand Down