Fix build issue with KafkaDataset (#17418)
* Fix build issue with KafkaDataset
This fix tries to address the issue raised in 17210 where
error of `NotFoundError: Op type not registered 'KafkaDataset' in binary.`
returned from kafka ops. The issue was that the inclusion of kafka ops
was removed due to the conflict merge from the other PR. This fix
fixes the issue.
This fix fixes 17210.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Change `import readers.Dataset` to `import dataset_ops.Dataset`,
due to the changes in some other places.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Fix library dependency issues in bazel
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add dependency to bazel rules
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add license to lib and pip package
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Remove unneeded changes in bazel
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Address review feedback
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Fix sanity check
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add zlib dependency and include path
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add copts in bazel to address the discrepancy in clang and gcc
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>