Browse Source

HUE-8298 [kafka] Import kafka lib module is incorrect

Romain Rigaux 7 years ago
parent
commit
9c963861dc
1 changed files with 1 additions and 2 deletions
  1. 1 2
      desktop/libs/notebook/src/notebook/connectors/kafka.py

+ 1 - 2
desktop/libs/notebook/src/notebook/connectors/kafka.py

@@ -18,13 +18,12 @@
 from __future__ import absolute_import
 
 import logging
-import json
 
 from django.core.urlresolvers import reverse
 from django.utils.translation import ugettext as _
 
 from desktop.lib.i18n import force_unicode
-from metadata.kafka_api import get_topics
+from kafka.kafka_api import get_topics
 
 from notebook.connectors.base import Api, QueryError