我尝试在Kafka中实施安全性,以使用用户名和密码对客户端进行身份验证。 jaas配置文件配置正确。我首先启动zookeeper,然后只启动一个kafka节点。但是,kafka无法从以下错误开始:
library("leaflet")
library("htmltools")
library("leaflet.minicharts")
basins <- read.table(text="basin,lat,lon,res.density,rel.area
Central Sumatra,1,96,16.7,75
North Sea,58.4,2,20,24
Maracaibo basin,9,-71,74.4,14.3
Los Angeles,33,-118,31.2,32", header=T, sep=",")
leaflet(data = basins) %>%
addProviderTiles("OpenStreetMap.Mapnik") %>%
addLabelOnlyMarkers(lng = ~lon, lat = ~lat, label = ~htmlEscape(basin),
labelOptions = labelOptions(noHide = TRUE, textOnly = TRUE,
direction = "bottom", offset = c(0,5))) %>%
addMinicharts(basins$lon, basins$lat, type = "bar",
chartdata = basins[, c("res.density", "rel.area")], width = 50, height = 60)