Skip to content
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

fix(mirrormaker): missing omitempty in replication flow #318

Merged
Merged
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
14 changes: 7 additions & 7 deletions mirrormaker_replication_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type (
OffsetSyncsTopicLocation string `json:"offset_syncs_topic_location,omitempty"`
SourceCluster string `json:"source_cluster,omitempty"`
TargetCluster string `json:"target_cluster,omitempty"`
byashimov marked this conversation as resolved.
Show resolved Hide resolved
ReplicationPolicyClass string `json:"replication_policy_class"`
SyncGroupOffsetsEnabled bool `json:"sync_group_offsets_enabled"`
SyncGroupOffsetsIntervalSeconds int `json:"sync_group_offsets_interval_seconds"`
EmitHeartbeatsEnabled bool `json:"emit_heartbeats_enabled"`
EmitBackwardHeartbeatsEnabled bool `json:"emit_backward_heartbeats_enabled"`
Topics []string `json:"topics"`
TopicsBlacklist []string `json:"topics.blacklist"`
ReplicationPolicyClass string `json:"replication_policy_class,omitempty"`
SyncGroupOffsetsEnabled bool `json:"sync_group_offsets_enabled,omitempty"`
SyncGroupOffsetsIntervalSeconds int `json:"sync_group_offsets_interval_seconds,omitempty"`
EmitHeartbeatsEnabled bool `json:"emit_heartbeats_enabled,omitempty"`
EmitBackwardHeartbeatsEnabled bool `json:"emit_backward_heartbeats_enabled,omitempty"`
Topics []string `json:"topics,omitempty"`
TopicsBlacklist []string `json:"topics.blacklist,omitempty"`
}

// MirrorMakerReplicationFlowRequest request used to create a Kafka MirrorMaker 2
Expand Down
Loading