hunk.code_window: import org.springframework.data.redis.listener.ChannelTopic;
   import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer;
   import org.springframework.data.redis.serializer.RedisSerializationContext;
   import org.springframework.data.redis.serializer.StringRedisSerializer;
   @Configuration
   @Slf4j
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit: import org.springframework.session.data.redis.config.annotation.web.server.EnableRedisWebSession;
  
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/RedisConfig.java
hunk.type: add
file: <?xml version="1.0" encoding="UTF-8"?>
  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <parent>
          <groupId>com.appsmith</groupId>
          <artifactId>integrated</artifactId>
          <version>1.0-SNAPSHOT</version>
      </parent>
  
  	<groupId>com.appsmith</groupId>
  	<artifactId>server</artifactId>
  	<version>1.0-SNAPSHOT</version>
  	<packaging>jar</packaging>
  
      <name>server</name>
      <description>This is the API server for the Appsmith project</description>
  
      <properties>
          <java.version>11</java.version>
      </properties>
  
      <repositories>
          <repository>
              <id>spring-milestones</id>
              <name>Spring Milestones</name>
              <url>https://repo.spring.io/milestone</url>
              <snapshots>
                  <enabled>false</enabled>
              </snapshots>
          </repository>
          <repository>
              <id>jboss-maven2-release-repository</id>
              <name>JBoss Spring Repository</name>
              <url>https://repository.jboss.org/nexus/content/repositories/public/</url>
              <snapshots>
                  <enabled>false</enabled>
              </snapshots>
          </repository>
      </repositories>
  
      <dependencies>
          <dependency>
              <groupId>org.springframework.boot</groupId>
              <artifactId>spring-boot-starter-cache</artifactId>
          </dependency>
          <dependency>
              <groupId>org.springframework.boot</groupId>
              <artifactId>spring-boot-starter-security</artifactId>
          </dependency>
          <dependency>
              <groupId>org.springframework.security</groupId>
              <artifactId>spring-security-oauth2-client</artifactId>
              <version>5.1.4.RELEASE</version>
          </dependency>
          <dependency>
              <groupId>org.springframework.security</groupId>
              <artifactId>spring-security-oauth2-jose</artifactId>
              <version>5.1.4.RELEASE</version>
          </dependency>
          <dependency>
              <groupId>org.springframework.security</groupId>
              <artifactId>spring-security-config</artifactId>
              <version>5.1.4.RELEASE</version>
          </dependency>
          <dependency>
              <groupId>org.springframework.boot</groupId>
              <artifactId>spring-boot-starter-webflux</artifactId>
          </dependency>
          <dependency>
              <groupId>org.postgresql</groupId>
              <artifactId>postgresql</artifactId>
              <scope>runtime</scope>
          </dependency>
          <dependency>
              <groupId>org.springframework.boot</groupId>
              <artifactId>spring-boot-starter-data-mongodb-reactive</artifactId>
          </dependency>
          <dependency>
              <groupId>org.springframework.boot</groupId>
              <artifactId>spring-boot-starter-data-redis-reactive</artifactId>
          </dependency>
          <dependency>
              <groupId>org.hibernate.validator</groupId>
              <artifactId>hibernate-validator</artifactId>
              <version>6.0.17.Final</version>
          </dependency>
          <dependency>
              <groupId>org.glassfish</groupId>
              <artifactId>javax.el</artifactId>
              <version>3.0.0</version>
          </dependency>
          <dependency>
              <groupId>org.projectlombok</groupId>
              <artifactId>lombok</artifactId>
              <optional>true</optional>
          </dependency>
          <dependency>
              <groupId>com.github.spullara.mustache.java</groupId>
              <artifactId>compiler</artifactId>
              <version>0.9.6</version>
          </dependency>
          <dependency>
  			<groupId>de.flapdoodle.embed</groupId>
  			<artifactId>de.flapdoodle.embed.mongo</artifactId>
  			<scope>test</scope>
  		</dependency>
          <dependency>
              <groupId>org.codehaus.jackson</groupId>
              <artifactId>jackson-mapper-asl</artifactId>
              <version>1.9.13</version>
          </dependency>
          <dependency>
              <groupId>com.google.guava</groupId>
              <artifactId>guava</artifactId>
              <version>28.1-jre</version>
          </dependency>
          <dependency>
              <groupId>commons-io</groupId>
              <artifactId>commons-io</artifactId>
              <version>2.6</version>
          </dependency>
          <!-- Plugin dependencies -->
          <dependency>
              <groupId>org.pf4j</groupId>
              <artifactId>pf4j-spring</artifactId>
              <version>0.5.0</version>
          </dependency>
  
          <!-- Appsmith dependencies -->
          <dependency>
              <groupId>com.appsmith</groupId>
              <artifactId>interfaces</artifactId>
              <version>1.0-SNAPSHOT</version>
          </dependency>
  
          <dependency>
              <groupId>org.springframework.boot</groupId>
              <artifactId>spring-boot-starter-test</artifactId>
              <scope>test</scope>
          </dependency>
          <dependency>
              <groupId>org.springframework.security</groupId>
              <artifactId>spring-security-test</artifactId>
              <scope>test</scope>
          </dependency>
          <dependency>
              <groupId>io.projectreactor</groupId>
              <artifactId>reactor-test</artifactId>
              <version>3.2.11.RELEASE</version>
              <scope>test</scope>
          </dependency>
          <dependency>
              <groupId>com.segment.analytics.java</groupId>
              <artifactId>analytics</artifactId>
              <version>2.1.1</version>
          </dependency>
          <dependency>
              <groupId>com.rollbar</groupId>
              <artifactId>rollbar-java</artifactId>
              <version>1.5.2</version>
          </dependency>
  
  
      </dependencies>
  
      <build>
          <plugins>
              <plugin>
                  <groupId>org.springframework.boot</groupId>
                  <artifactId>spring-boot-maven-plugin</artifactId>
              </plugin>
          </plugins>
      </build>
  
  </project>
  