class KafkaPrincipal implements Principal {

    @Override
    public int hashCode() {
        int result = principalType != null ? principalType.hashCode() : 0;
        result = 31 * result + (name != null ? name.hashCode() : 0);
        return result;
    }

    public  KafkaPrincipal(String principalType, String name);

}