11月 01, 2021

GCP Scheduling start/stop for an\ instance

 https://ithelp.ithome.com.tw/articles/10254215

 

compute-system.iam.gserviceaccount.com needs to have [compute.instances.start,compute.instances.stop] permissions applied in order to perform this operation
 
 The control panel by default fails to operate.  The above steps need to be followed.  THis is not a good UI practice, when users do not know where to set up the permission
 
 
 By going to IAM -> manage roles -> add roles

8月 18, 2021

Strange parallel stream issue with BootJar

 Using spring boot 2.5.3 on OpenJDK11.

.

Been using Stream API for a while, wanted to cut a teeth on  ParallelStream

While this would work well in bootRun, it doesn't in bootJar.

When this is called in Jar, this exception occurs over here, only if the line 'parallel()' is here.