Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Big Data
→
Big Data in Big Data
→
Package which need to import in java/scala?
1.
Package which need to import in java/scala?
Answer»
IMPORT
org.apache.kafka.clients.consumer.ConsumerRecord
import org.apache.kafka.common.serialization.StringDeserializer
import org.apache.spark.streaming.kafka010._
import org.apache.spark.streaming.kafka010.LocationStrategies.PreferConsistent
import org.apache.spark.streaming.kafka010.ConsumerStrategies.Subscribe
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
How do we design consumer groups in Kafka for high throughput?
What is the poll loop in Kafka?
In a consumer group, what is the process of assigning a partition to a particular consumer?
How is multi-tenancy achieved in Kafka?
Explain the anatomy of the Kafka topic?
What are the main features of Kafka that make it suitable for data integration and data processing in real-time?
How Kafka fit in microservices architecture?
Explain producer API in Kafka?
what is the consumer group in Kafka?
What is the difference between a shared message queue and traditional publisher-subscriber message queue?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies