Adding custom Authentication jar to kafka

currently, I am using the PlainLoginModule to authenticate users. However, I now created a jar with the code listed here and want to use that instead of PlainLoginModule: https://cwiki.apache.org/confluence/display/KAFKA/KIP-86%3A+Configurable+SASL+callback+handlers#KIP-86:ConfigurableSASLcallbackhandlers-sample_plainSampleCallbackHandlerforSASL/PLAIN. I have placed the jar file into the ~/libs folder and added listener.name.sasl_ssl.plain.sasl.server.callback.handler.class=com.synopsys.demo.DemoApplication to my server.properties and my kafka_server_jaas.conf into: KafkaServer { org.apache.kafka.common.security.plain.PlainLoginModule required username=”admin” password=”admin-secret”…

angular animation in ionic3 stop working after receiving custom cordova plugin for android response to button press

I am developing a custom cordova plugin (Android for now) to be used with Ionic. The plugin add a listener to the WebView with this code: this.callbackContext = callbackContext;//store this for later this.webView.getView().setOnKeyListener(this);//add listener PluginResult pluginResult = new PluginResult(PluginResult.Status.NO_RESULT); // send no result cause the result will be sent by the listener pluginResult.setKeepCallback(true); this.callbackContext.sendPluginResult(pluginResult); Then…

Primefaces components doesn’t render

As in the title, my Primefaces components doesn’t render, when I go to the main page I receive 404, not found. Where’s the problem? Web.xml: <!DOCTYPE web-app PUBLIC “-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN” “http://java.sun.com/dtd/web-app_2_3.dtd” > <web-app> <servlet> <servlet-name>Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Servlet</servlet-name> <url-pattern>*.xhtml</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.xhtml</welcome-file> </welcome-file-list> </web-app> pom.xml: <?xml version=”1.0″ encoding=”UTF-8″?> <project…

How to send POST (json file with urls) request via chrome extension to deployed FLASK APP?

my Flask app should read urls from news site (urls of articles), and analyze properties of articles (readibility indexes, html properties etc.). I have no problem with running it locally. I’m using to save urls this Chrome extension (https://chrome.google.com/webstore/detail/tabstore-plugin/jngplpdonggccbjlmbphlbancacmpmpp?hl=en). After clicking on button Save it -it saves all urls of open tabs to json and…

ClassNotFoundException: Failed to find data source: bigquery

I’m trying to load data from Google BigQuery into Spark running on Google Dataproc (I’m using Java). I tried to follow instructions on here: https://cloud.google.com/dataproc/docs/tutorials/bigquery-connector-spark-example I get the error: “ClassNotFoundException: Failed to find data source: bigquery.” My pom.xml looks like this: <?xml version=”1.0″ encoding=”UTF-8″?> <project xmlns=”http://maven.apache.org/POM/4.0.0″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd”> <modelVersion>4.0.0</modelVersion> <groupId>com.virtualpairprogrammers</groupId> <artifactId>learningSpark</artifactId> <version>0.0.3-SNAPSHOT</version> <packaging>jar</packaging> <properties>…

nativescript-dev-appium e2e test failed

I’m try to e2e testing with nativescript-dev-appium, but failed. I don’t know what’s wrong. I’m coding with this link https://github.com/NativeScript/ns-dev-days-appium-plugin and this is android28 “android28”: { “platformName”: “Android”, “platformVersion”: “28”, “deviceName”: “Emulator-Api28-Google”, “avd”: “Emulator-Api28-Google”, “lt”: 60000, “newCommandTimeout”: 720, “noReset”: false, “fullReset”: false, “app”: “” } $ npm run e2e — –runType android28 @ e2e /appium-demo…