Commit 37f6d224 authored by Yong Tang's avatar Yong Tang Committed by Gunhan Gulsoy
Browse files

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: default avatarYong 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: default avatarYong Tang <yong.tang.github@outlook.com>

* Fix library dependency issues in bazel

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>

* Add dependency to bazel rules

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>

* Add license to lib and pip package

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>

* Remove unneeded changes in bazel

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>

* Address review feedback

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>

* Fix sanity check

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>

* Add zlib dependency and include path

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>

* Add copts in bazel to address the discrepancy in clang and gcc

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent f9fb7e77
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment