mirror of https://github.com/apache/kafka.git
MINOR: Fix typo "Exsiting" -> "Existing" (#11547)
Co-authored-by: Kurt Ostfeld <kurt@samba.tv> Reviewers: Kvicii <Karonazaba@gmail.com>, Luke Chen <showuon@gmail.com>, David Jacot <djacot@confluent.io>
This commit is contained in:
parent
31081e6ec4
commit
830d83e2cd
|
|
@ -42,7 +42,7 @@ public class ChangelogTopics {
|
|||
private final Map<TaskId, Set<TopicPartition>> preExistingChangelogPartitionsForTask = new HashMap<>();
|
||||
private final Set<TopicPartition> preExistingNonSourceTopicBasedChangelogPartitions = new HashSet<>();
|
||||
private final Set<String> sourceTopicBasedChangelogTopics = new HashSet<>();
|
||||
private final Set<TopicPartition> preExsitingSourceTopicBasedChangelogPartitions = new HashSet<>();
|
||||
private final Set<TopicPartition> preExistingSourceTopicBasedChangelogPartitions = new HashSet<>();
|
||||
private final Logger log;
|
||||
|
||||
public ChangelogTopics(final InternalTopicManager internalTopicManager,
|
||||
|
|
@ -106,7 +106,7 @@ public class ChangelogTopics {
|
|||
if (!sourceTopicBasedChangelogTopics.contains(topicPartition.topic())) {
|
||||
preExistingNonSourceTopicBasedChangelogPartitions.add(topicPartition);
|
||||
} else {
|
||||
preExsitingSourceTopicBasedChangelogPartitions.add(topicPartition);
|
||||
preExistingSourceTopicBasedChangelogPartitions.add(topicPartition);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -125,7 +125,7 @@ public class ChangelogTopics {
|
|||
}
|
||||
|
||||
public Set<TopicPartition> preExistingSourceTopicBasedPartitions() {
|
||||
return Collections.unmodifiableSet(preExsitingSourceTopicBasedChangelogPartitions);
|
||||
return Collections.unmodifiableSet(preExistingSourceTopicBasedChangelogPartitions);
|
||||
}
|
||||
|
||||
public Set<TaskId> statefulTaskIds() {
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ public class RocksDBMetricsRecorderTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void shouldThrowIfStatisticsToAddIsNotNullButExsitingStatisticsAreNull() {
|
||||
public void shouldThrowIfStatisticsToAddIsNotNullButExistingStatisticsAreNull() {
|
||||
recorder.addValueProviders(SEGMENT_STORE_NAME_1, dbToAdd1, cacheToAdd1, null);
|
||||
|
||||
final Throwable exception = assertThrows(
|
||||
|
|
@ -190,7 +190,7 @@ public class RocksDBMetricsRecorderTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void shouldThrowIfStatisticsToAddIsNullButExsitingStatisticsAreNotNull() {
|
||||
public void shouldThrowIfStatisticsToAddIsNullButExistingStatisticsAreNotNull() {
|
||||
recorder.addValueProviders(SEGMENT_STORE_NAME_1, dbToAdd1, cacheToAdd1, statisticsToAdd1);
|
||||
|
||||
final Throwable exception = assertThrows(
|
||||
|
|
@ -207,7 +207,7 @@ public class RocksDBMetricsRecorderTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void shouldThrowIfCacheToAddIsNullButExsitingCacheIsNotNull() {
|
||||
public void shouldThrowIfCacheToAddIsNullButExistingCacheIsNotNull() {
|
||||
recorder.addValueProviders(SEGMENT_STORE_NAME_1, dbToAdd1, null, statisticsToAdd1);
|
||||
|
||||
final Throwable exception = assertThrows(
|
||||
|
|
|
|||
Loading…
Reference in New Issue