/** * Returns the generation id for the topic. */ public int getGeneration() { if (!validated) { validateGeneration(); } return Integer.parseInt(properties.get(GENERATION_KEY)); }
/** * Returns the generation id for the topic. */ public int getGeneration() { if (!validated) { validateGeneration(); } return Integer.parseInt(properties.get(GENERATION_KEY)); }
/** * Validates all the required properties of the given topic. * * @throws IllegalArgumentException if any required properties is missing or having invalid values */ private void validateProperties() { validateTTL(); validateGeneration(); }
/** * Validates all the required properties of the given topic. * * @throws IllegalArgumentException if any required properties is missing or having invalid values */ private void validateProperties() { validateTTL(); validateGeneration(); }