Skip to content

Commit

Permalink
docs(mirromaker): added valid options for config (#1722)
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-joerger-aiven authored May 14, 2024
1 parent df32310 commit 8a13378
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/mirrormaker_replication_flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ data "aiven_mirrormaker_replication_flow" "f1" {
- `emit_heartbeats_enabled` (Boolean) Whether to emit heartbeats to the target cluster. The default value is `false`.
- `enable` (Boolean) Enable of disable replication flows for a service.
- `id` (String) The ID of this resource.
- `offset_syncs_topic_location` (String) Offset syncs topic location.
- `offset_syncs_topic_location` (String) Offset syncs topic location. Possible values are `source` & `target`. There is no default value.
- `replication_policy_class` (String) Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
- `sync_group_offsets_enabled` (Boolean) Sync consumer group offsets. The default value is `false`.
- `sync_group_offsets_interval_seconds` (Number) Frequency of consumer group offset sync. The default value is `1`.
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/mirrormaker_replication_flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ resource "aiven_mirrormaker_replication_flow" "f1" {
### Required

- `enable` (Boolean) Enable of disable replication flows for a service.
- `offset_syncs_topic_location` (String) Offset syncs topic location.
- `offset_syncs_topic_location` (String) Offset syncs topic location. Possible values are `source` & `target`. There is no default value.
- `project` (String) The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- `replication_policy_class` (String) Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
- `service_name` (String) The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ var aivenMirrorMakerReplicationFlowSchema = map[string]*schema.Schema{
"offset_syncs_topic_location": {
Type: schema.TypeString,
Required: true,
Description: "Offset syncs topic location.",
Description: "Offset syncs topic location. Possible values are `source` & `target`. There is no default value.",
ValidateFunc: validation.StringInSlice([]string{"source", "target"}, false),
},
}
Expand Down

0 comments on commit 8a13378

Please sign in to comment.