-
Notifications
You must be signed in to change notification settings - Fork 0
I want to set the Cassandra timezone to UTC + 9 or KST. #130
Comments
You can add |
Or you can do: @Bean
public CassandraBuilderConfigurator timezoneConfigurator(){
return builder -> builder.addSystemProperty("user.timezone","Asia/Seoul");
} |
What version do you use? (Cassandra spring boot starter) Have tried application properties? |
I am using embedded Cassandra 3.11.7 with spring boot.
I have application propertise.
|
Now it is clear :) application.properties: com.github.nosan.embedded.cassandra.system-properties[user.timezone]=Asia/Seoul
or
|
thank for the reply. However, it does not apply. Here's what's applied:
current time : 2022-04-19 17:20:35 There is still a 9 hour difference. |
Why |
I have cassadra.config
|
|
The insert time and the current time are still different. Is it forced to change to utc timezone when inserted in cassandra? |
|
I believe your question is not related to Embedded Cassandra. Looks like you have a general issue with how to work date-time values in Apache Cassandra. |
thank you for your reply If you know the Apache Cassandra official contact github address or Q&A site address, please share. |
I am using Cassandra 3.11.7 with spring boot.
I want to set KST time which is UTC + 9 in Cassandra time zone.
So I'm looking for a way to set the Cassandra timezone.
What should I do?
thank you.
The text was updated successfully, but these errors were encountered: