default zk compressed + batch announcements in 0.7

This commit is contained in:
Xavier Léauté 2014-09-16 14:53:54 -07:00
parent 0209b7e440
commit d9a0d403b3
2 changed files with 2 additions and 2 deletions

View File

@ -34,6 +34,6 @@ public abstract class CuratorConfig
public abstract int getZkSessionTimeoutMs();
@Config("druid.curator.compress")
@Default("false")
@Default("true")
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.Type(name = "legacy", value = LegacyDataSegmentAnnouncerProvider.class),
@JsonSubTypes.Type(name = "batch", value = BatchDataSegmentAnnouncerProvider.class)