Remove reference to spark protobuf Config in ViewStream
We can't read spark protobuf Config until it has been initialized, and since ViewStream doesn't have the configServer param handy it isn't able to initialize config if necessary. In that case, it would simply block until config was initialized by someone else. Such a risk doesn't seem justified for this particular configuration dependency (DataStreamConfig.UseUncopiedNewRowsInFire). For now, its hardcoded to false.
This commit is contained in:
1 parent
7932ede1e8
commit
d603adcf7a
1 file changed
+3
-2
@@ -12,8 +12,9 @@ namespace BCG
|
||||
public abstract class ViewStream : DataStream, IViewStream
|
||||
{
|
||||
private IBlueRowCollection myLastValueForTestMode;
|
||||
protected bool myUseUncopiedNewRowsInFireEvent =
|
||||
Configuration.get<DataStreamConfig>().UseUncopiedNewRowsInFire;
|
||||
// protected bool myUseUncopiedNewRowsInFireEvent =
|
||||
// Configuration.get<DataStreamConfig>().UseUncopiedNewRowsInFire;
|
||||
protected bool myUseUncopiedNewRowsInFireEvent = false;
|
||||
|
||||
string streamName;
|
||||
|
||||
|
||||
Reference in new issue
Block a user