Skip to content

Commit

Permalink
Set default ports Druid
Browse files Browse the repository at this point in the history
For Druid set the default port for the broker and coordinator.
  • Loading branch information
Fokko Driesprong committed Aug 9, 2017
1 parent 327c052 commit e99f5c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/connectors/druid/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ class DruidCluster(Model, AuditMixinNullable):
# short unique name, used in permissions
cluster_name = Column(String(250), unique=True)
coordinator_host = Column(String(255))
coordinator_port = Column(Integer)
coordinator_port = Column(Integer, default=8081)
coordinator_endpoint = Column(
String(255), default='druid/coordinator/v1/metadata')
broker_host = Column(String(255))
broker_port = Column(Integer)
broker_port = Column(Integer, default=8082)
broker_endpoint = Column(String(255), default='druid/v2')
metadata_last_refreshed = Column(DateTime)
cache_timeout = Column(Integer)
Expand Down

0 comments on commit e99f5c4

Please sign in to comment.