Merge pull request #745 from metamx/better-defaults

default zk compressed + batch announcements in 0.7
This commit is contained in:
fjy 2014-09-16 16:14:18 -06:00
commit 502964711f
2 changed files with 2 additions and 2 deletions

View File

@ -34,6 +34,6 @@ public abstract class CuratorConfig
public abstract int getZkSessionTimeoutMs(); public abstract int getZkSessionTimeoutMs();
@Config("druid.curator.compress") @Config("druid.curator.compress")
@Default("false") @Default("true")
public abstract boolean enableCompression(); public abstract boolean enableCompression();
} }

View File

@ -25,7 +25,7 @@ import com.google.inject.Provider;
/** /**
*/ */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl = LegacyDataSegmentAnnouncerProvider.class) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl = BatchDataSegmentAnnouncerProvider.class)
@JsonSubTypes(value = { @JsonSubTypes(value = {
@JsonSubTypes.Type(name = "legacy", value = LegacyDataSegmentAnnouncerProvider.class), @JsonSubTypes.Type(name = "legacy", value = LegacyDataSegmentAnnouncerProvider.class),
@JsonSubTypes.Type(name = "batch", value = BatchDataSegmentAnnouncerProvider.class) @JsonSubTypes.Type(name = "batch", value = BatchDataSegmentAnnouncerProvider.class)