mirror of https://github.com/apache/druid.git
add default cassandra configs
This commit is contained in:
parent
9376a313fc
commit
1b4a543f25
|
@ -20,6 +20,7 @@
|
||||||
package com.metamx.druid.loading.cassandra;
|
package com.metamx.druid.loading.cassandra;
|
||||||
|
|
||||||
import org.skife.config.Config;
|
import org.skife.config.Config;
|
||||||
|
import org.skife.config.Default;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cassandra Config
|
* Cassandra Config
|
||||||
|
@ -29,8 +30,10 @@ import org.skife.config.Config;
|
||||||
public abstract class CassandraDataSegmentConfig
|
public abstract class CassandraDataSegmentConfig
|
||||||
{
|
{
|
||||||
@Config("druid.pusher.cassandra.host")
|
@Config("druid.pusher.cassandra.host")
|
||||||
|
@Default("")
|
||||||
public abstract String getHost();
|
public abstract String getHost();
|
||||||
|
|
||||||
@Config("druid.pusher.cassandra.keyspace")
|
@Config("druid.pusher.cassandra.keyspace")
|
||||||
|
@Default("")
|
||||||
public abstract String getKeyspace();
|
public abstract String getKeyspace();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue