/** * The change log mapping message is used to store changelog partition information for a given task name. * @param source Source writing the change log mapping * @param taskName The task name to be used in the mapping * @param changelogPartitionNumber The partition to which the task's changelog is mapped to */ public SetChangelogMapping(String source, String taskName, int changelogPartitionNumber) { super(source); setType(TYPE); setKey(taskName); putMessageValue(CHANGELOG_VALUE_KEY, String.valueOf(changelogPartitionNumber)); }
/** * The change log mapping message is used to store changelog partition information for a given task name. * @param source Source writing the change log mapping * @param taskName The task name to be used in the mapping * @param changelogPartitionNumber The partition to which the task's changelog is mapped to */ public SetChangelogMapping(String source, String taskName, int changelogPartitionNumber) { super(source); setType(TYPE); setKey(taskName); putMessageValue(CHANGELOG_VALUE_KEY, String.valueOf(changelogPartitionNumber)); }
/** * The change log mapping message is used to store changelog partition information for a given task name. * @param source Source writing the change log mapping * @param taskName The task name to be used in the mapping * @param changelogPartitionNumber The partition to which the task's changelog is mapped to */ public SetChangelogMapping(String source, String taskName, int changelogPartitionNumber) { super(source); setType(TYPE); setKey(taskName); putMessageValue(CHANGELOG_VALUE_KEY, String.valueOf(changelogPartitionNumber)); }
/** * The change log mapping message is used to store changelog partition information for a given task name. * @param source Source writing the change log mapping * @param taskName The task name to be used in the mapping * @param changelogPartitionNumber The partition to which the task's changelog is mapped to */ public SetChangelogMapping(String source, String taskName, int changelogPartitionNumber) { super(source); setType(TYPE); setKey(taskName); putMessageValue(CHANGELOG_VALUE_KEY, String.valueOf(changelogPartitionNumber)); }
/** * The change log mapping message is used to store changelog partition information for a given task name. * @param source Source writing the change log mapping * @param taskName The task name to be used in the mapping * @param changelogPartitionNumber The partition to which the task's changelog is mapped to */ public SetChangelogMapping(String source, String taskName, int changelogPartitionNumber) { super(source); setType(TYPE); setKey(taskName); putMessageValue(CHANGELOG_VALUE_KEY, String.valueOf(changelogPartitionNumber)); }