mirror of https://github.com/apache/druid.git
Merge pull request #859 from metamx/default-to-batch-announcement
fix default FilteredServerView + batch annoucement
This commit is contained in:
commit
de4cd039b3
|
@ -82,7 +82,7 @@ Data segment announcers are used to announce segments.
|
|||
|
||||
|Property|Description|Default|
|
||||
|--------|-----------|-------|
|
||||
|`druid.announcer.type`|Choices: legacy or batch. The type of data segment announcer to use.|legacy|
|
||||
|`druid.announcer.type`|Choices: legacy or batch. The type of data segment announcer to use.|batch|
|
||||
|
||||
##### Single Data Segment Announcer
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonSubTypes;
|
|||
import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
||||
import com.google.inject.Provider;
|
||||
|
||||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl = SingleServerInventoryProvider.class)
|
||||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl = FilteredBatchServerViewProvider.class)
|
||||
@JsonSubTypes(value = {
|
||||
@JsonSubTypes.Type(name = "legacy", value = FilteredSingleServerViewProvider.class),
|
||||
@JsonSubTypes.Type(name = "batch", value = FilteredBatchServerViewProvider.class)
|
||||
|
|
|
@ -25,7 +25,7 @@ import com.google.inject.Provider;
|
|||
|
||||
/**
|
||||
*/
|
||||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl = SingleServerInventoryProvider.class)
|
||||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl = BatchServerInventoryViewProvider.class)
|
||||
@JsonSubTypes(value = {
|
||||
@JsonSubTypes.Type(name = "legacy", value = SingleServerInventoryProvider.class),
|
||||
@JsonSubTypes.Type(name = "batch", value = BatchServerInventoryViewProvider.class)
|
||||
|
|
Loading…
Reference in New Issue