io.paradoxical.cassandra.leadership.data.LeadershipSchema Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cassandra-leadership Show documentation
Show all versions of cassandra-leadership Show documentation
Leadership election using Cassandra
The newest version!
package io.paradoxical.cassandra.leadership.data;
import lombok.Builder;
import lombok.Data;
@Data
@Builder
public class LeadershipSchema {
private final String tableName;
private final String groupColumnName;
private final String leaderIdColumnName;
public static LeadershipSchema Default =
LeadershipSchema.builder()
.tableName("leadership_election")
.groupColumnName("group")
.leaderIdColumnName("leader_id")
.build();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy