8561e02c70772ff34bbbedb78b1f0b55776fe512
Files Diff
- Added: 4
- Removed: 1
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type clientConfiguration : ClientConfiguration to serviceUrl : String in method public SparkStreamingPulsarReceiver(serviceUrl String, conf ConsumerConfigurationData<byte[]>, authentication Authentication) in class org.apache.pulsar.spark.SparkStreamingPulsarReceiver | From | To | |
Rename Variable | 4 | ||
Rename Variable msgs : JavaReceiverInputDStream<byte[]> to lineDStream : JavaReceiverInputDStream<byte[]> in method public main(args String[]) : void in class org.apache.spark.streaming.receiver.example.SparkStreamingPulsarReceiverExample | From | To | |
Rename Variable jssc : JavaStreamingContext to jsc : JavaStreamingContext in method public main(args String[]) : void in class org.apache.spark.streaming.receiver.example.SparkStreamingPulsarReceiverExample | From | To | |
Rename Variable numOfPulsar : JavaDStream<Integer> to result : JavaPairDStream<String,Integer> in method public main(args String[]) : void in class org.apache.spark.streaming.receiver.example.SparkStreamingPulsarReceiverExample | From | To | |
Rename Variable conf : SparkConf to sparkConf : SparkConf in method public main(args String[]) : void in class org.apache.spark.streaming.receiver.example.SparkStreamingPulsarReceiverExample | From | To | |
Move Class | 1 | ||
Move Class org.apache.pulsar.spark.example.SparkStreamingPulsarReceiverExample moved to org.apache.spark.streaming.receiver.example.SparkStreamingPulsarReceiverExample | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [consumerConfiguration : ConsumerConfiguration, url : String, topic : String] to conf : ConsumerConfigurationData<byte[]> in method public SparkStreamingPulsarReceiver(serviceUrl String, conf ConsumerConfigurationData<byte[]>, authentication Authentication) in class org.apache.pulsar.spark.SparkStreamingPulsarReceiver | From | To | |
Rename Attribute | 3 | ||
Rename Attribute clientConfiguration : ClientConfiguration to authentication : Authentication in class org.apache.pulsar.spark.SparkStreamingPulsarReceiver | From | To | |
Rename Attribute url : String to serviceUrl : String in class org.apache.pulsar.spark.SparkStreamingPulsarReceiver | From | To | |
Rename Attribute topic : String to conf : ConsumerConfigurationData<byte[]> in class org.apache.pulsar.spark.SparkStreamingPulsarReceiver | From | To | |
Change Variable Type | 1 | ||
Change Variable Type numOfPulsar : JavaDStream<Integer> to result : JavaPairDStream<String,Integer> in method public main(args String[]) : void in class org.apache.spark.streaming.receiver.example.SparkStreamingPulsarReceiverExample | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type topic : String to conf : ConsumerConfigurationData<byte[]> in class org.apache.pulsar.spark.SparkStreamingPulsarReceiver | From | To | |
Change Attribute Type clientConfiguration : ClientConfiguration to authentication : Authentication in class org.apache.pulsar.spark.SparkStreamingPulsarReceiver | From | To | |
Rename Parameter | 3 | ||
Rename Parameter clientConfiguration : ClientConfiguration to serviceUrl : String in method public SparkStreamingPulsarReceiver(serviceUrl String, conf ConsumerConfigurationData<byte[]>, authentication Authentication) in class org.apache.pulsar.spark.SparkStreamingPulsarReceiver | From | To | |
Rename Parameter url : String to serviceUrl : String in method public SparkStreamingPulsarReceiver(serviceUrl String, conf ConsumerConfigurationData<byte[]>, authentication Authentication) in class org.apache.pulsar.spark.SparkStreamingPulsarReceiver | From | To | |
Rename Parameter url : String to serviceUrl : String in method public SparkStreamingPulsarReceiver(storageLevel StorageLevel, serviceUrl String, conf ConsumerConfigurationData<byte[]>, authentication Authentication) in class org.apache.pulsar.spark.SparkStreamingPulsarReceiver | From | To |