Blizzard / node-rdkafka

Node.js bindings for librdkafka
MIT License
2.12k stars 396 forks source link

Huge amount of warnings during installation #878

Closed michael-vasyliv closed 2 years ago

michael-vasyliv commented 3 years ago

Environment Information

Steps to Reproduce

  1. mkdir test
  2. cd test
  3. touch package.json
  4. add to package.json
    {
    "name": "test",
    "version": "1.0.0",
    "dependencies": {
        "node-rdkafka": "2.10.1"
    }
    }
  5. npm i
  6. touch Dockerfile
  7. add to Dockerfile
    FROM mhart/alpine-node:12 AS installer
    RUN apk --no-cache add bash ca-certificates lz4-libs musl cyrus-sasl openssl
    RUN apk add --no-cache --virtual .build-deps alpine-sdk zlib libc-dev bsd-compat-headers py-setuptools python
    COPY package-lock.json package-lock.json
    COPY package.json package.json
    RUN ["npm", "ci"]
    RUN ["apk", "del", ".build-deps"]
  8. docker build -t test .
  9. see a lot of warnings
    
    michael@michael-MS-7A74:~/workspace/test$ docker build -t test .
    Sending build context to Docker daemon  246.1MB
    Step 1/7 : FROM mhart/alpine-node:12 AS installer
    ---> 33d2f6886442
    Step 2/7 : RUN apk --no-cache add bash ca-certificates lz4-libs musl cyrus-sasl openssl
    ---> Running in f8fe23b6b89e
    fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
    fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
    (1/16) Installing ncurses-terminfo-base (6.1_p20190105-r0)
    (2/16) Installing ncurses-terminfo (6.1_p20190105-r0)
    (3/16) Installing ncurses-libs (6.1_p20190105-r0)
    (4/16) Installing readline (7.0.003-r1)
    (5/16) Installing bash (4.4.19-r1)
    Executing bash-4.4.19-r1.post-install
    (6/16) Installing ca-certificates (20191127-r2)
    (7/16) Installing db (5.3.28-r1)
    (8/16) Installing krb5-conf (1.0-r1)
    (9/16) Installing libcom_err (1.44.5-r2)
    (10/16) Installing keyutils-libs (1.6-r0)
    (11/16) Installing libverto (0.3.0-r1)
    (12/16) Installing krb5-libs (1.15.5-r1)
    (13/16) Installing libsasl (2.1.27-r2)
    (14/16) Installing cyrus-sasl (2.1.27-r2)
    (15/16) Installing lz4-libs (1.8.3-r2)
    (16/16) Installing openssl (1.1.1g-r0)
    Executing busybox-1.29.3-r10.trigger
    Executing ca-certificates-20191127-r2.trigger
    OK: 21 MiB in 32 packages
    Removing intermediate container f8fe23b6b89e
    ---> 92e11b3b8f84
    Step 3/7 : RUN apk add --no-cache --virtual .build-deps alpine-sdk zlib libc-dev bsd-compat-headers py-setuptools python
    ---> Running in 6147f97721a1
    fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
    fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
    (1/45) Upgrading musl (1.1.20-r5 -> 1.1.20-r6)
    (2/45) Installing fakeroot (1.23-r0)
    (3/45) Installing sudo (1.8.25_p1-r3)
    (4/45) Installing libcap (2.26-r0)
    (5/45) Installing pax-utils (1.2.3-r0)
    (6/45) Upgrading musl-utils (1.1.20-r5 -> 1.1.20-r6)
    (7/45) Installing libattr (2.4.47-r7)
    (8/45) Installing attr (2.4.47-r7)
    (9/45) Installing tar (1.32-r0)
    (10/45) Installing pkgconf (1.6.0-r0)
    (11/45) Installing patch (2.7.6-r6)
    (12/45) Installing lzip (1.20-r0)
    (13/45) Installing nghttp2-libs (1.35.1-r2)
    (14/45) Installing libssh2 (1.9.0-r1)
    (15/45) Installing libcurl (7.64.0-r5)
    (16/45) Installing curl (7.64.0-r5)
    (17/45) Installing abuild (3.3.1-r0)
    Executing abuild-3.3.1-r0.pre-install
    (18/45) Installing binutils (2.31.1-r2)
    (19/45) Installing libmagic (5.36-r1)
    (20/45) Installing file (5.36-r1)
    (21/45) Installing gmp (6.1.2-r1)
    (22/45) Installing isl (0.18-r0)
    (23/45) Installing libgomp (8.3.0-r0)
    (24/45) Installing libatomic (8.3.0-r0)
    (25/45) Installing mpfr3 (3.1.5-r1)
    (26/45) Installing mpc1 (1.0.3-r1)
    (27/45) Installing gcc (8.3.0-r0)
    (28/45) Installing musl-dev (1.1.20-r6)
    (29/45) Installing libc-dev (0.7.1-r0)
    (30/45) Installing g++ (8.3.0-r0)
    (31/45) Installing make (4.2.1-r2)
    (32/45) Installing fortify-headers (1.0-r0)
    (33/45) Installing build-base (0.5-r1)
    (34/45) Installing expat (2.2.8-r0)
    (35/45) Installing pcre2 (10.32-r1)
    (36/45) Installing git (2.20.4-r0)
    (37/45) Installing alpine-sdk (1.0-r0)
    (38/45) Installing bsd-compat-headers (0.7.1-r0)
    (39/45) Installing libbz2 (1.0.6-r7)
    (40/45) Installing libffi (3.2.1-r6)
    (41/45) Installing gdbm (1.13-r1)
    (42/45) Installing sqlite-libs (3.28.0-r3)
    (43/45) Installing python2 (2.7.18-r0)
    (44/45) Installing py-setuptools (40.6.3-r0)
    (45/45) Installing .build-deps (0)
    Executing busybox-1.29.3-r10.trigger
    OK: 238 MiB in 75 packages
    Removing intermediate container 6147f97721a1
    ---> 055b1f7f2d4f
    Step 4/7 : COPY package-lock.json package-lock.json
    ---> f9f47e04bec6
    Step 5/7 : COPY package.json package.json
    ---> 255b48c9728f
    Step 6/7 : RUN ["npm", "ci"]
    ---> Running in 013404a79b8f

node-rdkafka@v2.10.1 install /node_modules/node-rdkafka node-gyp rebuild

make: Entering directory '/node_modules/node-rdkafka/build' ACTION deps_librdkafka_gyp_librdkafka_target_configure deps/librdkafka/config.h checking for OS or distribution... ok (alpine) checking for C compiler from CC env... failed checking for gcc (by command)... ok checking for C++ compiler from CXX env... failed checking for C++ compiler (g++)... ok checking executable ld... ok checking executable nm... ok checking executable objdump... ok checking executable strip... ok checking executable libtool... failed (disable) checking for pkgconfig (by command)... ok checking for install (by command)... failed checking for PIC (by compile)... ok checking for GNU-compatible linker options... ok checking for GNU linker-script ld flag... ok checking for __atomic_32 (by compile)... ok checking for __atomic_64 (by compile)... ok checking for socket (by compile)... ok parsing version '0x010503ff'... ok (1.5.3) checking for librt (by pkg-config)... failed checking for librt (by compile)... ok checking for libpthread (by pkg-config)... failed checking for libpthread (by compile)... ok checking for c11threads (by pkg-config)... failed checking for c11threads (by compile)... ok checking for libdl (by pkg-config)... failed checking for libdl (by compile)... ok checking for zlib (by pkg-config)... failed checking for zlib (by compile)... failed (disable) checking for libcrypto (by pkg-config)... failed checking for libcrypto (by compile)... failed (disable) checking for libsasl2 (by pkg-config)... failed checking for libsasl2 (by compile)... failed (disable) checking for libsasl (by pkg-config)... failed checking for libsasl (by compile)... failed (disable) checking for libzstd (by pkg-config)... failed checking for libzstd (by compile)... failed (disable) checking for libm (by pkg-config)... failed checking for libm (by compile)... ok checking for liblz4 (by pkg-config)... failed checking for liblz4 (by compile)... failed (disable) checking for syslog (by compile)... ok checking for rapidjson (by compile)... failed (disable) checking for crc32chw (by compile)... ok checking for regex (by compile)... ok checking for strndup (by compile)... ok checking for strlcpy (by compile)... ok checking for strerror_r (by compile)... ok checking for pthread_setname_gnu (by compile)... ok checking for nm (by env NM)... ok (cached) checking for python3 (by command)... failed (disable) disabling linker-script since python3 is not available checking for getrusage (by compile)... ok Generated Makefile.config Generated config.h

Configuration summary: prefix /node_modules/node-rdkafka/build/deps MKL_DISTRO alpine SOLIB_EXT .so ARCH x86_64 CPU generic GEN_PKG_CONFIG y libdir /node_modules/node-rdkafka/build/deps MKL_APP_NAME librdkafka MKL_APP_DESC_ONELINE The Apache Kafka C/C++ library LDFLAGS -L/node_modules/node-rdkafka/build/deps CC gcc CXX g++ LD ld NM nm OBJDUMP objdump STRIP strip CPPFLAGS -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align PKG_CONFIG pkg-config INSTALL install LIB_LDFLAGS -shared -Wl,-soname,$(LIBFILENAME) LDFLAG_LINKERSCRIPT -Wl,--version-script= RDKAFKA_VERSION_STR 1.5.3 MKL_APP_VERSION 1.5.3 LIBS -lm -ldl -lpthread -lrt -lpthread -lrt MKL_PKGCONFIG_LIBS_PRIVATE -lm -ldl -lpthread -lrt -lpthread -lrt CXXFLAGS -Wno-non-virtual-dtor SYMDUMPER $(NM) -D MKL_DYNAMIC_LIBS -lm -ldl -lpthread -lrt -lpthread -lrt exec_prefix /node_modules/node-rdkafka/build/deps bindir /node_modules/node-rdkafka/build/deps/bin sbindir /node_modules/node-rdkafka/build/deps/sbin libexecdir /node_modules/node-rdkafka/build/deps/libexec datadir /node_modules/node-rdkafka/build/deps/share sysconfdir /node_modules/node-rdkafka/build/deps/etc sharedstatedir /node_modules/node-rdkafka/build/deps/com localstatedir /node_modules/node-rdkafka/build/deps/var runstatedir /node_modules/node-rdkafka/build/deps/var/run includedir /node_modules/node-rdkafka/build/deps/include infodir /node_modules/node-rdkafka/build/deps/info mandir /node_modules/node-rdkafka/build/deps/man BUILT_WITH GCC GXX PKGCONFIG GNULD C11THREADS LIBDL PLUGINS HDRHISTOGRAM SYSLOG SNAPPY SOCKEM CRC32C_HW Generated config.cache

Now type 'make' to build TOUCH 11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate ACTION deps_librdkafka_gyp_librdkafka_target_build_dependencies 11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate make[1]: Entering directory '/node_modules/node-rdkafka/deps/librdkafka' make[2]: Entering directory '/node_modules/node-rdkafka/deps/librdkafka/src' gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka.c -o rdkafka.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_broker.c -o rdkafka_broker.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_msg.c -o rdkafka_msg.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_topic.c -o rdkafka_topic.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_conf.c -o rdkafka_conf.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_timer.c -o rdkafka_timer.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_offset.c -o rdkafka_offset.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_transport.c -o rdkafka_transport.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_buf.c -o rdkafka_buf.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_queue.c -o rdkafka_queue.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_op.c -o rdkafka_op.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_request.c -o rdkafka_request.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_cgrp.c -o rdkafka_cgrp.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_pattern.c -o rdkafka_pattern.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_partition.c -o rdkafka_partition.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_subscription.c -o rdkafka_subscription.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_assignor.c -o rdkafka_assignor.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_range_assignor.c -o rdkafka_range_assignor.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_roundrobin_assignor.c -o rdkafka_roundrobin_assignor.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_feature.c -o rdkafka_feature.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdcrc32.c -o rdcrc32.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c crc32c.c -o crc32c.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdmurmur2.c -o rdmurmur2.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdfnv1a.c -o rdfnv1a.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdaddr.c -o rdaddr.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdrand.c -o rdrand.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdlist.c -o rdlist.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c tinycthread.c -o tinycthread.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c tinycthread_extra.c -o tinycthread_extra.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdlog.c -o rdlog.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdstring.c -o rdstring.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_event.c -o rdkafka_event.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_metadata.c -o rdkafka_metadata.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdregex.c -o rdregex.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdports.c -o rdports.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_metadata_cache.c -o rdkafka_metadata_cache.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdavl.c -o rdavl.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_sasl.c -o rdkafka_sasl.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_sasl_plain.c -o rdkafka_sasl_plain.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_interceptor.c -o rdkafka_interceptor.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_msgset_writer.c -o rdkafka_msgset_writer.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_msgset_reader.c -o rdkafka_msgset_reader.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_header.c -o rdkafka_header.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_admin.c -o rdkafka_admin.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_aux.c -o rdkafka_aux.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_background.c -o rdkafka_background.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_idempotence.c -o rdkafka_idempotence.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_cert.c -o rdkafka_cert.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_txnmgr.c -o rdkafka_txnmgr.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_coord.c -o rdkafka_coord.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdvarint.c -o rdvarint.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdbuf.c -o rdbuf.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdunittest.c -o rdunittest.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_mock.c -o rdkafka_mock.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_mock_handlers.c -o rdkafka_mock_handlers.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_mock_cgrp.c -o rdkafka_mock_cgrp.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_error.c -o rdkafka_error.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c snappy.c -o snappy.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdhdrhistogram.c -o rdhdrhistogram.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_lz4.c -o rdkafka_lz4.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O3 -c rdxxhash.c -o rdxxhash.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O3 -c lz4.c -o lz4.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O3 -c lz4frame.c -o lz4frame.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O3 -c lz4hc.c -o lz4hc.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rddl.c -o rddl.o gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -c rdkafka_plugin.c -o rdkafka_plugin.o Creating shared library librdkafka.so.1 gcc -L/node_modules/node-rdkafka/build/deps -shared -Wl,-soname,librdkafka.so.1 rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_conf.o rdkafka_timer.o rdkafka_offset.o rdkafka_transport.o rdkafka_buf.o rdkafka_queue.o rdkafka_op.o rdkafka_request.o rdkafka_cgrp.o rdkafka_pattern.o rdkafka_partition.o rdkafka_subscription.o rdkafka_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdfnv1a.o rdaddr.o rdrand.o rdlist.o tinycthread.o tinycthread_extra.o rdlog.o rdstring.o rdkafka_event.o rdkafka_metadata.o rdregex.o rdports.o rdkafka_metadata_cache.o rdavl.o rdkafka_sasl.o rdkafka_sasl_plain.o rdkafka_interceptor.o rdkafka_msgset_writer.o rdkafka_msgset_reader.o rdkafka_header.o rdkafka_admin.o rdkafka_aux.o rdkafka_background.o rdkafka_idempotence.o rdkafka_cert.o rdkafka_txnmgr.o rdkafka_coord.o rdvarint.o rdbuf.o rdunittest.o rdkafka_mock.o rdkafka_mock_handlers.o rdkafka_mock_cgrp.o rdkafka_error.o snappy.o rdhdrhistogram.o rdkafka_lz4.o rdxxhash.o lz4.o lz4frame.o lz4hc.o rddl.o rdkafka_plugin.o -o librdkafka.so.1 -lm -ldl -lpthread -lrt -lpthread -lrt Creating static library librdkafka.a ar rcs librdkafka.a rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_conf.o rdkafka_timer.o rdkafka_offset.o rdkafka_transport.o rdkafka_buf.o rdkafka_queue.o rdkafka_op.o rdkafka_request.o rdkafka_cgrp.o rdkafka_pattern.o rdkafka_partition.o rdkafka_subscription.o rdkafka_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdfnv1a.o rdaddr.o rdrand.o rdlist.o tinycthread.o tinycthread_extra.o rdlog.o rdstring.o rdkafka_event.o rdkafka_metadata.o rdregex.o rdports.o rdkafka_metadata_cache.o rdavl.o rdkafka_sasl.o rdkafka_sasl_plain.o rdkafka_interceptor.o rdkafka_msgset_writer.o rdkafka_msgset_reader.o rdkafka_header.o rdkafka_admin.o rdkafka_aux.o rdkafka_background.o rdkafka_idempotence.o rdkafka_cert.o rdkafka_txnmgr.o rdkafka_coord.o rdvarint.o rdbuf.o rdunittest.o rdkafka_mock.o rdkafka_mock_handlers.o rdkafka_mock_cgrp.o rdkafka_error.o snappy.o rdhdrhistogram.o rdkafka_lz4.o rdxxhash.o lz4.o lz4frame.o lz4hc.o rddl.o rdkafka_plugin.o Creating librdkafka.so symlink rm -f "librdkafka.so" && ln -s "librdkafka.so.1" "librdkafka.so" Generating pkg-config file rdkafka.pc Generating pkg-config file rdkafka-static.pc Checking librdkafka integrity librdkafka.so.1 OK librdkafka.a OK Symbol visibility OK make[2]: Leaving directory '/node_modules/node-rdkafka/deps/librdkafka/src' make[2]: Entering directory '/node_modules/node-rdkafka/deps/librdkafka/src-cpp' g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c RdKafka.cpp -o RdKafka.o g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c ConfImpl.cpp -o ConfImpl.o g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c HandleImpl.cpp -o HandleImpl.o g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c ConsumerImpl.cpp -o ConsumerImpl.o g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c ProducerImpl.cpp -o ProducerImpl.o g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c KafkaConsumerImpl.cpp -o KafkaConsumerImpl.o g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c TopicImpl.cpp -o TopicImpl.o g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c TopicPartitionImpl.cpp -o TopicPartitionImpl.o g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c MessageImpl.cpp -o MessageImpl.o g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c HeadersImpl.cpp -o HeadersImpl.o g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c QueueImpl.cpp -o QueueImpl.o g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c MetadataImpl.cpp -o MetadataImpl.o Creating shared library librdkafka++.so.1 g++ -L/node_modules/node-rdkafka/build/deps -shared -Wl,-soname,librdkafka++.so.1 RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o KafkaConsumerImpl.o TopicImpl.o TopicPartitionImpl.o MessageImpl.o HeadersImpl.o QueueImpl.o MetadataImpl.o -o librdkafka++.so.1 -L../src -lrdkafka Creating static library librdkafka++.a ar rcs librdkafka++.a RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o KafkaConsumerImpl.o TopicImpl.o TopicPartitionImpl.o MessageImpl.o HeadersImpl.o QueueImpl.o MetadataImpl.o Creating librdkafka++.so symlink rm -f "librdkafka++.so" && ln -s "librdkafka++.so.1" "librdkafka++.so" Generating pkg-config file rdkafka++.pc Generating pkg-config file rdkafka++-static.pc Checking librdkafka++ integrity librdkafka++.so.1 OK librdkafka++.a OK make[2]: Leaving directory '/node_modules/node-rdkafka/deps/librdkafka/src-cpp' make[2]: Entering directory '/node_modules/node-rdkafka/deps/librdkafka/src' Install librdkafka to /node_modules/node-rdkafka/build/deps install -d $DESTDIR/node_modules/node-rdkafka/build/deps/include/librdkafka install -d $DESTDIR/node_modules/node-rdkafka/build/deps install rdkafka.h rdkafka_mock.h $DESTDIR/node_modules/node-rdkafka/build/deps/include/librdkafka install librdkafka.a $DESTDIR/node_modules/node-rdkafka/build/deps [ ! -f librdkafka-static.a ] || install librdkafka-static.a $DESTDIR/node_modules/node-rdkafka/build/deps install librdkafka.so.1 $DESTDIR/node_modules/node-rdkafka/build/deps [ -f "rdkafka.pc" ] && ( \ install -d $DESTDIR/node_modules/node-rdkafka/build/deps/pkgconfig && \ install -m 0644 rdkafka.pc $DESTDIR/node_modules/node-rdkafka/build/deps/pkgconfig \ ) [ -f "rdkafka-static.pc" ] && ( \ install -d $DESTDIR/node_modules/node-rdkafka/build/deps/pkgconfig && \ install -m 0644 rdkafka-static.pc $DESTDIR/node_modules/node-rdkafka/build/deps/pkgconfig \ ) (cd $DESTDIR/node_modules/node-rdkafka/build/deps && ln -sf librdkafka.so.1 librdkafka.so) make[2]: Leaving directory '/node_modules/node-rdkafka/deps/librdkafka/src' make[2]: Entering directory '/node_modules/node-rdkafka/deps/librdkafka/src-cpp' Install librdkafka++ to /node_modules/node-rdkafka/build/deps install -d $DESTDIR/node_modules/node-rdkafka/build/deps/include/librdkafka install -d $DESTDIR/node_modules/node-rdkafka/build/deps install rdkafkacpp.h $DESTDIR/node_modules/node-rdkafka/build/deps/include/librdkafka install librdkafka++.a $DESTDIR/node_modules/node-rdkafka/build/deps [ ! -f librdkafka++-static.a ] || install librdkafka++-static.a $DESTDIR/node_modules/node-rdkafka/build/deps install librdkafka++.so.1 $DESTDIR/node_modules/node-rdkafka/build/deps [ -f "rdkafka++.pc" ] && ( \ install -d $DESTDIR/node_modules/node-rdkafka/build/deps/pkgconfig && \ install -m 0644 rdkafka++.pc $DESTDIR/node_modules/node-rdkafka/build/deps/pkgconfig \ ) [ -f "rdkafka++-static.pc" ] && ( \ install -d $DESTDIR/node_modules/node-rdkafka/build/deps/pkgconfig && \ install -m 0644 rdkafka++-static.pc $DESTDIR/node_modules/node-rdkafka/build/deps/pkgconfig \ ) (cd $DESTDIR/node_modules/node-rdkafka/build/deps && ln -sf librdkafka++.so.1 librdkafka++.so) make[2]: Leaving directory '/node_modules/node-rdkafka/deps/librdkafka/src-cpp' make -C examples make[2]: Entering directory '/node_modules/node-rdkafka/deps/librdkafka/examples' gcc -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I../src rdkafka_example.c -o rdkafka_example -L/node_modules/node-rdkafka/build/deps \ ../src/librdkafka.a -lm -ldl -lpthread -lrt -lpthread -lrt

rdkafka_example is ready

#

Run producer (write messages on stdin)

./rdkafka_example -P -t -p

or consumer

./rdkafka_example -C -t -p

#

More usage options:

./rdkafka_example -h gcc -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I../src rdkafka_performance.c -o rdkafka_performance -L/node_modules/node-rdkafka/build/deps \ ../src/librdkafka.a -lm -ldl -lpthread -lrt -lpthread -lrt

rdkafka_performance is ready

#

Run producer

./rdkafka_performance -P -t -p -s

or consumer

./rdkafka_performance -C -t -p

#

More usage options:

./rdkafka_performance -h g++ -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -I../src-cpp rdkafka_example.cpp -o rdkafka_example_cpp -L/node_modules/node-rdkafka/build/deps \ ../src-cpp/librdkafka++.a ../src/librdkafka.a -lm -ldl -lpthread -lrt -lpthread -lrt gcc -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I../src rdkafka_complex_consumer_example.c -o rdkafka_complex_consumer_example -L/node_modules/node-rdkafka/build/deps \ ../src/librdkafka.a -lm -ldl -lpthread -lrt -lpthread -lrt

rdkafka_complex_consumer_example is ready

# ./rdkafka_complex_consumer_example <topic[:part]> <topic2[:part]> ..

#

More usage options:

./rdkafka_complex_consumer_example -h g++ -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -I../src-cpp rdkafka_complex_consumer_example.cpp -o rdkafka_complex_consumer_example_cpp -L/node_modules/node-rdkafka/build/deps \ ../src-cpp/librdkafka++.a ../src/librdkafka.a -lm -ldl -lpthread -lrt -lpthread -lrt g++ -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -I../src-cpp kafkatest_verifiable_client.cpp -o kafkatest_verifiable_client -L/node_modules/node-rdkafka/build/deps \ ../src-cpp/librdkafka++.a ../src/librdkafka.a -lm -ldl -lpthread -lrt -lpthread -lrt gcc -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I../src producer.c -o producer -L/node_modules/node-rdkafka/build/deps \ ../src/librdkafka.a -lm -ldl -lpthread -lrt -lpthread -lrt gcc -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I../src consumer.c -o consumer -L/node_modules/node-rdkafka/build/deps \ ../src/librdkafka.a -lm -ldl -lpthread -lrt -lpthread -lrt gcc -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I../src idempotent_producer.c -o idempotent_producer -L/node_modules/node-rdkafka/build/deps \ ../src/librdkafka.a -lm -ldl -lpthread -lrt -lpthread -lrt gcc -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I../src transactions.c -o transactions -L/node_modules/node-rdkafka/build/deps \ ../src/librdkafka.a -lm -ldl -lpthread -lrt -lpthread -lrt make[2]: Leaving directory '/node_modules/node-rdkafka/deps/librdkafka/examples' Updating CONFIGURATION.md Installing documentation to /node_modules/node-rdkafka/build/deps install -d $DESTDIR/node_modules/node-rdkafka/build/deps/share/doc/librdkafka install LICENSE LICENSES.txt INTRODUCTION.md README.md CONFIGURATION.md STATISTICS.md CHANGELOG.md $DESTDIR/node_modules/node-rdkafka/build/deps/share/doc/librdkafka make[1]: Leaving directory '/node_modules/node-rdkafka/deps/librdkafka' TOUCH Release/obj.target/deps/librdkafka.stamp CXX(target) Release/obj.target/node-librdkafka/src/binding.o CXX(target) Release/obj.target/node-librdkafka/src/callbacks.o ../src/callbacks.cc: In member function 'void NodeKafka::Callbacks::Dispatcher::Dispatch(int, v8::Local)': ../src/callbacks.cc:103:25: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] cb.Call(_argc, _argv); ^ In file included from /node_modules/node-rdkafka/src/callbacks.h:13, from ../src/callbacks.cc:14: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/callbacks.cc: In member function 'virtual int32_t NodeKafka::Callbacks::Partitioner::partitioner_cb(const RdKafka::Topic, const string, int32_t, void)': ../src/callbacks.cc:569:60: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] v8::Local return_value = callback.Call(3, argv); ^ In file included from /node_modules/node-rdkafka/src/callbacks.h:13, from ../src/callbacks.cc:14: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/callbacks.cc: In member function 'void NodeKafka::Callbacks::Partitioner::SetCallback(v8::Local)': ../src/callbacks.cc:606:14: warning: 'v8::Local Nan::Callback::operator()(v8::Local, int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback(cb); ^ In file included from /node_modules/node-rdkafka/src/callbacks.h:13, from ../src/callbacks.cc:14: ../../nan/nan.h:1640:46: note: declared here NAN_DEPRECATED inline v8::Local operator()( ^~~~ CXX(target) Release/obj.target/node-librdkafka/src/common.o CXX(target) Release/obj.target/node-librdkafka/src/config.o CXX(target) Release/obj.target/node-librdkafka/src/connection.o In file included from ../src/connection.cc:14: /node_modules/node-rdkafka/src/workers.h: In member function 'virtual void NodeKafka::Workers::ErrorAwareWorker::HandleErrorCallback()': /node_modules/node-rdkafka/src/workers.h:42:30: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/connection.h:13, from ../src/connection.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ CXX(target) Release/obj.target/node-librdkafka/src/errors.o CXX(target) Release/obj.target/node-librdkafka/src/kafka-consumer.o In file included from ../src/kafka-consumer.cc:14: /node_modules/node-rdkafka/src/workers.h: In member function 'virtual void NodeKafka::Workers::ErrorAwareWorker::HandleErrorCallback()': /node_modules/node-rdkafka/src/workers.h:42:30: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/kafka-consumer.h:13, from ../src/kafka-consumer.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ CXX(target) Release/obj.target/node-librdkafka/src/producer.o In file included from ../src/producer.cc:14: /node_modules/node-rdkafka/src/workers.h: In member function 'virtual void NodeKafka::Workers::ErrorAwareWorker::HandleErrorCallback()': /node_modules/node-rdkafka/src/workers.h:42:30: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/producer.h:13, from ../src/producer.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ CXX(target) Release/obj.target/node-librdkafka/src/topic.o CXX(target) Release/obj.target/node-librdkafka/src/workers.o In file included from ../src/workers.cc:13: /node_modules/node-rdkafka/src/workers.h: In member function 'virtual void NodeKafka::Workers::ErrorAwareWorker::HandleErrorCallback()': /node_modules/node-rdkafka/src/workers.h:42:30: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::Handle::OffsetsForTimes::HandleOKCallback()': ../src/workers.cc:69:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::Handle::OffsetsForTimes::HandleErrorCallback()': ../src/workers.cc:78:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::ConnectionMetadata::HandleOKCallback()': ../src/workers.cc:116:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::ConnectionMetadata::HandleErrorCallback()': ../src/workers.cc:127:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::ConnectionQueryWatermarkOffsets::HandleOKCallback()': ../src/workers.cc:174:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::ConnectionQueryWatermarkOffsets::HandleErrorCallback()': ../src/workers.cc:183:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::ProducerConnect::HandleOKCallback()': ../src/workers.cc:223:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::ProducerConnect::HandleErrorCallback()': ../src/workers.cc:232:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::ProducerDisconnect::HandleOKCallback()': ../src/workers.cc:261:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::ProducerFlush::HandleOKCallback()': ../src/workers.cc:301:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::KafkaConsumerConnect::HandleOKCallback()': ../src/workers.cc:342:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::KafkaConsumerConnect::HandleErrorCallback()': ../src/workers.cc:351:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::KafkaConsumerDisconnect::HandleOKCallback()': ../src/workers.cc:386:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::KafkaConsumerDisconnect::HandleErrorCallback()': ../src/workers.cc:397:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ In file included from ../src/workers.cc:13: /node_modules/node-rdkafka/src/workers.h: In constructor 'NodeKafka::Workers::KafkaConsumerConsumeLoop::KafkaConsumerConsumeLoop(Nan::Callback, NodeKafka::KafkaConsumer, const int&, const int&)': /node_modules/node-rdkafka/src/workers.h:308:13: warning: 'NodeKafka::Workers::KafkaConsumerConsumeLoop::m_timeout_sleep_delay_ms' will be initialized after [-Wreorder] const int m_timeout_sleep_delay_ms; ^~~~~~~~ /node_modules/node-rdkafka/src/workers.h:307:16: warning: 'unsigned int NodeKafka::Workers::KafkaConsumerConsumeLoop::m_rand_seed' [-Wreorder] unsigned int m_rand_seed; ^~~ ../src/workers.cc:421:1: warning: when initialized here [-Wreorder] KafkaConsumerConsumeLoop::KafkaConsumerConsumeLoop(Nan::Callback callback, ^~~~~~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::KafkaConsumerConsumeLoop::HandleMessageCallback(RdKafka::Message, RdKafka::ErrorCode)': ../src/workers.cc:524:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::KafkaConsumerConsumeLoop::HandleErrorCallback()': ../src/workers.cc:538:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local*) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::KafkaConsumerConsumeNum::HandleOKCallback()': ../src/workers.cc:631:14: warning: enumeration value 'ERRBEGIN' not handled in switch [-Wswitch] switch (message->err()) { ^ ../src/workers.cc:631:14: warning: enumeration value 'ERRBAD_MSG' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRBAD_COMPRESSION' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRDESTROY' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRFAIL' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRTRANSPORT' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRCRIT_SYS_RESOURCE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRRESOLVE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRMSG_TIMED_OUT' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR__UNKNOWN_PARTITION' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRFS' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRUNKNOWN_TOPIC' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRALL_BROKERS_DOWN' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRINVALID_ARG' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRTIMED_OUT' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRQUEUE_FULL' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR__ISR_INSUFF' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRNODE_UPDATE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRSSL' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRWAIT_COORD' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRUNKNOWN_GROUP' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR__IN_PROGRESS' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRPREV_IN_PROGRESS' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERREXISTING_SUBSCRIPTION' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR__ASSIGN_PARTITIONS' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRREVOKE_PARTITIONS' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRCONFLICT' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRSTATE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRUNKNOWN_PROTOCOL' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR__NOT_IMPLEMENTED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRAUTHENTICATION' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRNO_OFFSET' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERROUTDATED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRTIMED_OUT_QUEUE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR__UNSUPPORTED_FEATURE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRWAIT_CACHE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRINTR' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRKEY_SERIALIZATION' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRVALUE_SERIALIZATION' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR__KEY_DESERIALIZATION' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRVALUE_DESERIALIZATION' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRPARTIAL' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRREAD_ONLY' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRNOENT' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRUNDERFLOW' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRINVALID_TYPE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRRETRY' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRPURGE_QUEUE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRPURGE_INFLIGHT' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRFATAL' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRINCONSISTENT' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRGAPLESS_GUARANTEE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRMAX_POLL_EXCEEDED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRUNKNOWN_BROKER' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRNOT_CONFIGURED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRFENCED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERRAPPLICATION' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR__END' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_UNKNOWN' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_OFFSET_OUT_OF_RANGE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_MSG' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_UNKNOWN_TOPIC_OR_PART' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_MSG_SIZE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_LEADER_NOT_AVAILABLE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_NOT_LEADER_FOR_PARTITION' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_REQUEST_TIMED_OUT' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_BROKER_NOT_AVAILABLE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_REPLICA_NOT_AVAILABLE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_MSG_SIZE_TOO_LARGE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_STALE_CTRL_EPOCH' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_OFFSET_METADATA_TOO_LARGE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_NETWORK_EXCEPTION' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_COORDINATOR_LOAD_IN_PROGRESS' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_COORDINATOR_NOT_AVAILABLE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_NOT_COORDINATOR' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_TOPIC_EXCEPTION' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_RECORD_LIST_TOO_LARGE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_NOT_ENOUGH_REPLICAS' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_NOT_ENOUGH_REPLICAS_AFTER_APPEND' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_REQUIRED_ACKS' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_ILLEGAL_GENERATION' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INCONSISTENT_GROUP_PROTOCOL' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_GROUP_ID' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_UNKNOWN_MEMBER_ID' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_SESSION_TIMEOUT' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_REBALANCE_IN_PROGRESS' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_COMMIT_OFFSET_SIZE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_TOPIC_AUTHORIZATION_FAILED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_GROUP_AUTHORIZATION_FAILED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_CLUSTER_AUTHORIZATION_FAILED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_TIMESTAMP' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_UNSUPPORTED_SASL_MECHANISM' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_ILLEGAL_SASL_STATE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_UNSUPPORTED_VERSION' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_TOPIC_ALREADY_EXISTS' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_PARTITIONS' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_REPLICATION_FACTOR' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_REPLICA_ASSIGNMENT' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_CONFIG' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_NOT_CONTROLLER' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_REQUEST' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_UNSUPPORTED_FOR_MESSAGE_FORMAT' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_POLICY_VIOLATION' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_OUT_OF_ORDER_SEQUENCE_NUMBER' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_DUPLICATE_SEQUENCE_NUMBER' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_PRODUCER_EPOCH' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_TXN_STATE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_PRODUCER_ID_MAPPING' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_TRANSACTION_TIMEOUT' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_CONCURRENT_TRANSACTIONS' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_TRANSACTION_COORDINATOR_FENCED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_TRANSACTIONAL_ID_AUTHORIZATION_FAILED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_SECURITY_DISABLED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_OPERATION_NOT_ATTEMPTED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_KAFKA_STORAGE_ERROR' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_LOG_DIR_NOT_FOUND' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_SASL_AUTHENTICATION_FAILED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_UNKNOWN_PRODUCER_ID' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_REASSIGNMENT_IN_PROGRESS' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_DELEGATION_TOKEN_AUTH_DISABLED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_DELEGATION_TOKEN_NOT_FOUND' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_DELEGATION_TOKEN_OWNER_MISMATCH' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_DELEGATION_TOKEN_REQUEST_NOT_ALLOWED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_DELEGATION_TOKEN_AUTHORIZATION_FAILED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_DELEGATION_TOKEN_EXPIRED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_PRINCIPAL_TYPE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_NON_EMPTY_GROUP' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_GROUP_ID_NOT_FOUND' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_FETCH_SESSION_ID_NOT_FOUND' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_FETCH_SESSION_EPOCH' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_LISTENER_NOT_FOUND' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_TOPIC_DELETION_DISABLED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_FENCED_LEADER_EPOCH' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_UNKNOWN_LEADER_EPOCH' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_UNSUPPORTED_COMPRESSION_TYPE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_STALE_BROKER_EPOCH' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_OFFSET_NOT_AVAILABLE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_MEMBER_ID_REQUIRED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_PREFERRED_LEADER_NOT_AVAILABLE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_GROUP_MAX_SIZE_REACHED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_FENCED_INSTANCE_ID' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_ELIGIBLE_LEADERS_NOT_AVAILABLE' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_ELECTION_NOT_NEEDED' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_NO_REASSIGNMENT_IN_PROGRESS' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_GROUP_SUBSCRIBED_TO_TOPIC' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_INVALID_RECORD' not handled in switch [-Wswitch] ../src/workers.cc:631:14: warning: enumeration value 'ERR_UNSTABLE_OFFSET_COMMIT' not handled in switch [-Wswitch] ../src/workers.cc:664:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::KafkaConsumerConsumeNum::HandleErrorCallback()': ../src/workers.cc:681:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::KafkaConsumerConsume::HandleOKCallback()': ../src/workers.cc:730:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::KafkaConsumerConsume::HandleErrorCallback()': ../src/workers.cc:739:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::KafkaConsumerCommitted::HandleOKCallback()': ../src/workers.cc:782:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::KafkaConsumerCommitted::HandleErrorCallback()': ../src/workers.cc:791:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::KafkaConsumerSeek::HandleOKCallback()': ../src/workers.cc:844:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::KafkaConsumerSeek::HandleErrorCallback()': ../src/workers.cc:853:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::AdminClientCreateTopic::HandleOKCallback()': ../src/workers.cc:891:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::AdminClientCreateTopic::HandleErrorCallback()': ../src/workers.cc:900:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::AdminClientDeleteTopic::HandleOKCallback()': ../src/workers.cc:938:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::AdminClientDeleteTopic::HandleErrorCallback()': ../src/workers.cc:947:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::AdminClientCreatePartitions::HandleOKCallback()': ../src/workers.cc:986:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/workers.cc: In member function 'virtual void NodeKafka::Workers::AdminClientCreatePartitions::HandleErrorCallback()': ../src/workers.cc:995:28: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/workers.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ CXX(target) Release/obj.target/node-librdkafka/src/admin.o In file included from ../src/admin.cc:13: /node_modules/node-rdkafka/src/workers.h: In member function 'virtual void NodeKafka::Workers::ErrorAwareWorker::HandleErrorCallback()': /node_modules/node-rdkafka/src/workers.h:42:30: warning: 'v8::Local Nan::Callback::Call(int, v8::Local*) const' is deprecated [-Wdeprecated-declarations] callback->Call(argc, argv); ^ In file included from /node_modules/node-rdkafka/src/workers.h:14, from ../src/admin.cc:13: ../../nan/nan.h:1742:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ SOLINK_MODULE(target) Release/obj.target/node-librdkafka.node COPY Release/node-librdkafka.node rm 11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate make: Leaving directory '/node_modules/node-rdkafka/build' added 4 packages in 73.022s Removing intermediate container 013404a79b8f ---> dcc9c4344186 Step 7/7 : RUN ["apk", "del", ".build-deps"] ---> Running in 99dbc56b20a2 WARNING: Ignoring APKINDEX.b89edf6e.tar.gz: No such file or directory WARNING: Ignoring APKINDEX.737f7e01.tar.gz: No such file or directory (1/43) Purging .build-deps (0) (2/43) Purging alpine-sdk (1.0-r0) (3/43) Purging abuild (3.3.1-r0) (4/43) Purging fakeroot (1.23-r0) (5/43) Purging sudo (1.8.25_p1-r3) (6/43) Purging pax-utils (1.2.3-r0) (7/43) Purging attr (2.4.47-r7) (8/43) Purging tar (1.32-r0) (9/43) Purging pkgconf (1.6.0-r0) (10/43) Purging patch (2.7.6-r6) (11/43) Purging lzip (1.20-r0) (12/43) Purging curl (7.64.0-r5) (13/43) Purging build-base (0.5-r1) (14/43) Purging file (5.36-r1) (15/43) Purging g++ (8.3.0-r0) (16/43) Purging gcc (8.3.0-r0) (17/43) Purging binutils (2.31.1-r2) (18/43) Purging libatomic (8.3.0-r0) (19/43) Purging libgomp (8.3.0-r0) (20/43) Purging make (4.2.1-r2) (21/43) Purging fortify-headers (1.0-r0) (22/43) Purging git (2.20.4-r0) (23/43) Purging libc-dev (0.7.1-r0) (24/43) Purging musl-dev (1.1.20-r6) (25/43) Purging bsd-compat-headers (0.7.1-r0) (26/43) Purging py-setuptools (40.6.3-r0) (27/43) Purging libcap (2.26-r0) (28/43) Purging libattr (2.4.47-r7) (29/43) Purging libcurl (7.64.0-r5) (30/43) Purging nghttp2-libs (1.35.1-r2) (31/43) Purging libssh2 (1.9.0-r1) (32/43) Purging libmagic (5.36-r1) (33/43) Purging mpc1 (1.0.3-r1) (34/43) Purging mpfr3 (3.1.5-r1) (35/43) Purging isl (0.18-r0) (36/43) Purging gmp (6.1.2-r1) (37/43) Purging python2 (2.7.18-r0) (38/43) Purging expat (2.2.8-r0) (39/43) Purging pcre2 (10.32-r1) (40/43) Purging libbz2 (1.0.6-r7) (41/43) Purging libffi (3.2.1-r6) (42/43) Purging gdbm (1.13-r1) (43/43) Purging sqlite-libs (3.28.0-r3) Executing busybox-1.29.3-r10.trigger OK: 21 MiB in 32 packages Removing intermediate container 99dbc56b20a2 ---> 5349667ed862 Successfully built 5349667ed862 Successfully tagged test:latest



**node-rdkafka Configuration Settings**
--

**Additional context**
--
michael-vasyliv commented 3 years ago

Is there any plan to get rid of these warnings?

bigclap commented 3 years ago

@michael-vasyliv no way for read it:D

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.